In Java-speak, i'm doing Extends, not Implements. So there needn't be any virtual methods.
faldżip:
Closing and reopening the file had, strangely enough, no effect. I'm thinking it's the StreamReader that doesn't reset-itself properly, even after calling clear() and resetting the device.
I'm sure i could do a readAll as you suggested but my goal was to read as little of the file as possible to save time on I/O and memory. Right now i'm throwing the first reader away and creating a new one when i want to read the entire file, but it doesn't feel like the best solution.
Bookmarks