fixed BufferingReader.

This commit is contained in:
Christoph Oelckers 2023-12-13 16:57:08 +01:00
parent df3e82d94c
commit 0be8fed6fc

View file

@ -40,6 +40,8 @@ public:
BufferingReader(FileReaderInterface* base)
: baseReader(base)
{
Length = base->Length;
buf.resize(Length);
}
ptrdiff_t Seek(ptrdiff_t offset, int origin) override;