Re: Example of Binary File
Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Organization | Gobo |
| Message-ID | <[email protected]> |
Brian Heilig wrote: > Are there any examples of using Gobo files (KL_BINARY_INPUT_FILE) to > read a binary file format like a GIF or a ZIP file? How would you > extract a 32-bit integer in little-endian format, or an array of 16-bit > integers, for example? Is it possible to move the file pointer? Unfortunately, as many other classes in the same library, this class is limited by the common functionalities provided by the supported compilers. So, because of that there is no file pointer move possible yet, and the file is read byte per byte, using CHARACTER to store the bytes with `read_character' and `last_character'. There is nothing in this class to make sense out of these bytes such as building INTEGER_16 or INTEGER_32 out of them. The less Eiffel compilers Gobo will support the more functionalities these classes will be able to support. -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gobo-eiffel/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/