That's a lot of calls to read and unpack. It would be far faster to process at least record at a time, if possible.
By the way, you forgot to specify endianness for the floating-point types.
In reply to Re^2: Iteratively unpack structure from binary file ( ReadBytes, ReadFloat, ReadInt32 )
by ikegami
in thread Iteratively unpack structure from binary file
by cMonkE
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |