posted 22 years ago
Hi,
The seek() method works in bytes. The boolean value at the start will take up 1 byte (even though a boolean is actually only 1 bit long) at position 0, then the first int will take up the next 4 bytes (postions 1,2,3 and 4). Position 5 would be the first byte of the second int and hence the second int is displayed.
Regards,
Richard