|
Hi,
I'm trying to read a binary file containing an image, where the first 1024 bytes have the heather information and the rest is the actual image.
Now, I want to read from bytes 1002 to 1003 (which is a int16) to get the number of rows on the image. Following your examples, I can only read one byte at a time, this is 1002 and 1003, and I need to read the two bytes together to get the true number of rows on the image.
Any suggestion?
|