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