Synced
OwnedReadStream.SetLength
Section titled “OwnedReadStream.SetLength”
- When overridden in a derived class, sets the length of the current stream.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public override void Inno.Core.IO.OwnedReadStream.SetLength(long value)Parameters
Section titled “Parameters”Parameter value: The desired length of the current stream in bytes.
Exceptions
Section titled “Exceptions”Exception T:System.IO.IOException: An I/O error occurs.
Exception T:System.NotSupportedException: The stream does not support both writing and 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.