
12 Aug
2011
12 Aug
'11
9:37 p.m.
On 11 August 2011 14:22, Ovanes Markarian
If the defined stream is only 2 bytes long why is 2 a valid stream position?
There needs to be an offset for the end of the stream. I'm actually not sure if it should be -1 for larger values though.
Why is eof always false? Do you think this behavior is buggy?
IIRC in streams eof is only set when you try to read past the end of the file.