Constructor ByteBufferStream
ByteBufferStream(IByteBuffer, bool)
Initializes a new instance of the ByteBufferStream class.
public ByteBufferStream(IByteBuffer buffer, bool ownsBuffer = false)Parameters
- bufferIByteBuffer
- The buffer. 
- ownsBufferbool
- Whether the stream owns the buffer and should Dispose it when done.