ByteBufferStream Constructor |
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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