Wow, that was fast!
If the nb of bytes remaining to be read is less than the sector count, will it get past that point or does it ajust accordingly?
I say that because I need to split where the data goes since my files are larger than the available RAM and reading past the limit will break everything up.
EDIT : I did a quick test, and as I suspected there is no "safety net". I guess the way around this is to check if the remaining number of bytes to be read is less than the sector count, then switch to reading one sector at a time.