UnpackingStream Class |
Namespace: MsgPack
The UnpackingStream type exposes the following members.
Name | Description | |
---|---|---|
CanRead |
Gets a value indicating whether the current stream supports reading.
(Overrides StreamCanRead.) | |
CanTimeout |
Gets a value that determines whether the current stream can time out.
(Overrides StreamCanTimeout.) | |
CanWrite |
Gets a value indicating whether the current stream supports writing.
(Overrides StreamCanWrite.) | |
Length |
Gets the length in bytes of the stream.
(Overrides StreamLength.) |
Name | Description | |
---|---|---|
Flush |
Overrides [M:Stream.Flush()] so that no action is performed.
(Overrides StreamFlush.) | |
Read |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32).) | |
SetLength |
Throws NotSupportedException.
(Overrides StreamSetLength(Int64).) | |
Write |
Throws NotSupportedException.
(Overrides StreamWrite(Byte, Int32, Int32).) |
This object behaves as wrapper of the underlying Stream which contains message pack encoded byte array. But, this object does not own the stream, so that stream is not closed when this stream is closed.
The value of CanSeek, timeout, and async API depends on the underlying stream.