This wrapper stream applies a constant byte offset to all access to an underlying stream.
More...
|
| OffsetStream (Stream baseStream, long offset) |
| Creates a new offset stream More...
|
|
override int | Read (byte[] buffer, int offset, int count) |
|
override void | Write (byte[] buffer, int offset, int count) |
|
override int | ReadByte () |
|
override void | WriteByte (byte value) |
|
override void | Flush () |
|
override long | Seek (long offset, SeekOrigin origin) |
|
override void | SetLength (long value) |
|
override void | Close () |
|
This wrapper stream applies a constant byte offset to all access to an underlying stream.
◆ OffsetStream()
NanoByte.Common.Streams.OffsetStream.OffsetStream |
( |
Stream |
baseStream, |
|
|
long |
offset |
|
) |
| |
|
inline |
Creates a new offset stream
- Parameters
-
baseStream | Underlying stream for which all access will be offset. |
offset | Number of bytes to offset the baseStream . |
The documentation for this class was generated from the following file:
- Common/Streams/OffsetStream.cs