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