mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-15 20:53:29 +08:00
added and passed StreamRW tests
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user