added and passed StreamRW tests

This commit is contained in:
Ivan Morozov
2022-07-26 19:31:25 +03:00
parent d29966342b
commit 7859d6ef03
3 changed files with 18 additions and 6 deletions

View File

@ -11,7 +11,7 @@ StreamRW::StreamRW(const Stream &stream)
T_LONG64 StreamRW::Seek(T_LONG64 offset)
{
stream->seekp(offset, std::ios::cur);
stream->seekp(offset, std::ios::beg);
return stream->tellp();
}