Synced
OwnedReadStream.Seek
Section titled “OwnedReadStream.Seek”
- When overridden in a derived class, sets the position within the current stream.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public override long Inno.Core.IO.OwnedReadStream.Seek(long offset, System.IO.SeekOrigin origin)Parameters
Section titled “Parameters”Parameter offset: A byte offset relative to the origin parameter.
Parameter origin: A value of type T:System.IO.SeekOrigin indicating the reference point used to obtain the new position.
Exceptions
Section titled “Exceptions”Exception T:System.IO.IOException: An I/O error occurs.
Exception T:System.NotSupportedException: The stream does not support seeking, such as if the stream is constructed from a pipe or console output.
Exception T:System.ObjectDisposedException: Methods were called after the stream was closed.
Returns
Section titled “Returns”The new position within the current stream.