Re: Writing To Binary File

new topic     » goto parent     » topic index » view thread      » older message » newer message

The print() routine outputs a plain-text, semi-human-readable representation of a Euphoria object. If you're writing files in binary mode, you should be puts()-ing a sequence of bytes to the file. Typically, when you're using binary mode, you'll be using some sort of defined file structure, either an existing format (like an image or a document), or your own custom layout (like EDS). If you want to print() object to a file, then use text mode and later read them back with get().

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu