add io_stream:seek

This commit is contained in:
Artem 2026-03-13 21:19:47 +03:00
parent 3c383a9277
commit 33f7815a21
5 changed files with 51 additions and 3 deletions

View file

@ -369,6 +369,10 @@ function io_stream:write(arg, ...)
end
end
function io_stream:seek(mode, offset)
self.ioLib.seek(self.descriptor, mode, offset)
end
function io_stream:is_alive()
return self.ioLib.is_alive(self.descriptor)
end