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

Seek() public method

When overridden in a derived class, sets the position within the current stream.
An I/O error occurs. The stream does not support seeking, such as if the stream /// is constructed from a pipe or console output. Methods were called after the stream was closed. /// Thrown when no stream is assigned as decorated stream. ///
public Seek ( long offset, SeekOrigin origin ) : long
offset long A byte offset relative to the origin parameter.
origin SeekOrigin A value of type indicating the reference /// point used to obtain the new position.
return long
        public override long Seek(long offset, SeekOrigin origin)
        {
            this.AssertStreamNotNull();
            return this.decoratedStream.Seek(offset, origin);
        }