Fix FileAccessMemory off by one error in eof_reached

(cherry picked from commit 2561f6fc52)
This commit is contained in:
ACB
2024-01-25 10:35:51 +01:00
committed by Rémi Verschelde
parent c00caa766e
commit f4106e5fb3

View File

@ -119,7 +119,7 @@ uint64_t FileAccessMemory::get_length() const {
}
bool FileAccessMemory::eof_reached() const {
return pos > length;
return pos >= length;
}
uint8_t FileAccessMemory::get_8() const {