RebasedStream class

RebasedStream is a stream wrapper that changes the effective origin of the wrapped stream.

public sealed class RebasedStream : WrappingStreamBase

Public Members

name description
RebasedStream(…) Initializes a new instance of the RebasedStream class; the current position in stream will be the origin of the RebasedStream. (2 constructors)
override Length { get; } Gets the length in bytes of the stream.
override Position { get; set; } Gets or sets the position within the current stream.
override Read(…) Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
override ReadAsync(…) Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. (2 methods)
override Seek(…) Sets the position within the current stream.
override SetLength(…) Sets the length of the current stream.
override Write(…) Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
override WriteAsync(…) Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests. (2 methods)

See Also