Proton DotNet
|
Provides a read-only stream view of a proton buffer instance. The stream allows seeking within the readable bytes portion of the provided buffer but does not allow altering the readable length or writing to the buffer. More...
Public Member Functions | |
ProtonBufferInputStream (IProtonBuffer buffer) | |
override void | Close () |
override int | ReadByte () |
override int | Read (byte[] destination, int offset, int count) |
override long | Seek (long offset, SeekOrigin origin) |
override void | SetLength (long value) |
override void | Write (byte[] buffer, int offset, int count) |
override void | Flush () |
Properties | |
long | BytesRead [get] |
override bool | CanRead [get] |
override bool | CanSeek [get] |
override bool | CanWrite [get] |
override long | Length [get] |
override long | Position [get, set] |
Provides a read-only stream view of a proton buffer instance. The stream allows seeking within the readable bytes portion of the provided buffer but does not allow altering the readable length or writing to the buffer.