Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • When overridden in a derived class, sets the length of the current stream.

API: engine
Project: Inno.Core.IO

public override void Inno.Core.IO.OwnedReadStream.SetLength(long value)

Parameter value: The desired length of the current stream in bytes.

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.