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