1. Binary I/O Operations?
- Posted by Dick Holmes <d.holmes at aristoslogic.com> Jun 04, 2007
- 574 views
- Last edited Jun 05, 2007
This could well be a problem brought on by old age, but I can't find a Euphoria function that allows me to read and write binary I/O. I can create a new binary file using the "wb" variant of open, but all of the I/O statements seem to deal exclusively with strings, and I need to be able to write and read raw integers. TIA! Dick Holmes
2. Re: Binary I/O Operations?
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Jun 04, 2007
- 535 views
- Last edited Jun 05, 2007
Try here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=Binary+input+ouput http://users.telenet.be/tommycarlier/eu http://www.rapideuphoria.com/gbinary.zip Ken Rhodes Folding at Home: http://folding.stanford.edu/ 100% MicroSoft Free SuSE Linux 10.0 No AdWare, SpyWare, or Viruses! Life is Good,
3. Re: Binary I/O Operations?
- Posted by Dick Holmes <d.holmes at aristoslogic.com> Jun 04, 2007
- 559 views
- Last edited Jun 05, 2007
Ken, Thanks for the pointer! Dick Holmes
4. Re: Binary I/O Operations?
- Posted by CChris <christian.cuvier at agriculture.gouv.fr> Jun 05, 2007
- 560 views
Dick Holmes wrote: > > This could well be a problem brought on by old age, but I can't find a > Euphoria > function that allows me to read and write binary I/O. I can create a new > binary > file using the "wb" variant of open, but all of the I/O statements seem to > deal > exclusively with strings, and I need to be able to write and read raw > integers. > > TIA! > > Dick Holmes puts() works with binary input. get_bytes and getc() read bytes from files opened using the "rb" mode. CChris
5. Re: Binary I/O Operations?
- Posted by Craig Welch <euphoriah at cwelch.org> Jun 05, 2007
- 581 views
Dick Holmes wrote: > Ken, > > Thanks for the pointer! Ah, but with Euphoria you don't need a pointer! -- Craig
6. Re: Binary I/O Operations?
- Posted by egg <egege at rambler.ru> Jun 05, 2007
- 569 views
You may try MIO.E from the archive