ByteBufferStream Constructor |
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
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