Appccelerate.IO.Streams.StreamDecoratorStream.SetLength C# (CSharp) Method

SetLength() public method

When overridden in a derived class, sets the length of the current stream.
The stream does not support both writing and seeking, /// such as if the stream is constructed from a pipe or console output. An I/O error occurs. Methods were called after the stream was closed. Thrown when no stream is assigned as decorated stream. ///
public SetLength ( long value ) : void
value long The desired length of the current stream in bytes.
return void
        public override void SetLength(long value)
        {
            this.AssertStreamNotNull();
            this.decoratedStream.SetLength(value);
        }