Interface
SeekableStream
interface SeekableStream
Module: System.IO
Assembly: System.Runtime.dll
Source file: SeekableStream.rvn
An optional capability for repositioning a stream by byte offset.
Remarks
Independent of reading and writing. FileInputStream implements this capability; TextReader does not. Calls are synchronous and return typed errors. No concurrent position operations are promised.
Implementing types
Documented types in this API reference. Indirect relationships are marked.
Methods
2 items
GetPosition() -> Result<long, StreamError>
Reports the current absolute byte position.
Defined by SeekableStream.GetPosition · Required implementation (no default).
Seek(position: long) -> Result<long, StreamError>
Sets the absolute byte position without changing file contents.
Defined by SeekableStream.Seek · Required implementation (no default).