• ylavic's avatar
    Fix FileReadStream::Peek4(). · 38d25d74
    ylavic authored
    Until Read() reaches EOF, Peek4() must not take off by one in
    bufferLast_ into account; otherwise a buffer of size exactly 4 always
    returns NULL.
    38d25d74
filestreamtest.cpp 4.31 KB