in reply to Re: Reading fixed length records
in thread Reading fixed length records

Using your exact code, and a file of 52164 bytes, the beginning of which is:

This is a test.
This is a test.
This is a test.
This is a test.This is a test.
This is a test.
This is a test.
...

I always get 52164, not 10.

tigervamp