ByteBufferStream Constructor |
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public ByteBufferStream(
IByteBuffer buffer,
bool ownsBuffer = false
)
Public Sub New (
buffer As IByteBuffer,
Optional ownsBuffer As Boolean = false
)
new :
buffer : IByteBuffer *
?ownsBuffer : bool
(* Defaults:
let _ownsBuffer = defaultArg ownsBuffer false
*)
-> ByteBufferStream
Parameters
- buffer
- Type: MongoDB.Bson.IOIByteBuffer
The buffer. - ownsBuffer (Optional)
- Type: SystemBoolean
Whether the stream owns the buffer and should Dispose it when done.
See Also