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