[Newbies] Reading and writing C structs

David Finlayson dfinlayson at usgs.gov
Wed Jul 2 00:05:31 UTC 2008


I need to read very large files so a single ByteArray holding all the
data wouldn't work (not until I get a 64-bit version of Squeak).
However, I could read in one or more structure at-a-time as a
ByteArray and then parse out the data I need, then read the next
sequence. This is kind-of like a buffered reading approach.

This raises a question about FileStreams, are they buffered?

David


More information about the Beginners mailing list