softweng
May 15th, 2001, 01:03 PM
What is the most efficient or best way to read a binary file? I need to read the file in blocks
of 1000 bytes at a time. Can you read each byte seperatly or is there a better way to read a
certain number of bytes? I need to do something like this:
Variable1 = First 1000 Bytes Of File
Variable2 = Second 1000 Bytes Of File
Variable3 = Third 1000 Bytes Of File
If anyone has any ideas it is greatly appreciated!!!
Kris
Software Engineer
Phoenix,AZ
of 1000 bytes at a time. Can you read each byte seperatly or is there a better way to read a
certain number of bytes? I need to do something like this:
Variable1 = First 1000 Bytes Of File
Variable2 = Second 1000 Bytes Of File
Variable3 = Third 1000 Bytes Of File
If anyone has any ideas it is greatly appreciated!!!
Kris
Software Engineer
Phoenix,AZ