× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You have to know the layout of the binary file.  If you designed the binary
file, it's easy, what ever record size you wrote.

Record sizes in binary files are not like record sizes in DB2 files.  If you
have a 1024 record that you write, you can merrily read back records as 1025
bytes.  And the second record will start one character off, the third 2
characters off, etc...

If you don't know the record layout, I use hexedit myself, a free PC utility
to look at the byte values of files.

Regards,

Jim Langston

-----Original Message-----
From: dmosley@dancik.com [mailto:dmosley@dancik.com]

"This is the preferred way for reading binary files, in a big chunk at a
time, usually the record size."

How do you know "Record Size"?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.