Platforms to show: All Mac Windows Linux Cross-Platform

Back to MongoStreamMBS class.

MongoStreamMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Closes the underlying file-descriptors.

MongoStreamMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The private constructor.

MongoStreamMBS.Flush

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Flushes any buffered bytes in the underlying stream to the physical transport.

It mimics the API and semantics of fflush(), forcing a write of user space buffered data.

MongoStreamMBS.Read(ByteCount as Integer, MinBytes as Integer = -1) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Reads data into string.

MinBytes: The minimum number of bytes to read or failure will be indicated.

MongoStreamMBS.ReadAll as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Reads all data from the stream.

MongoStreamMBS.ReadAllMemory as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Reads all data from the stream as MemoryBlock.

MongoStreamMBS.ReadMemory(ByteCount as Integer, MinBytes as Integer = -1) as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Reads data into MemoryBlock.

MinBytes: The minimum number of bytes to read or failure will be indicated.

MongoStreamMBS.Write(Data as MemoryBlock) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Writes data to a stream.

Returns the number of bytes written on success,

See also:

MongoStreamMBS.Write(Data as String) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MongoDB MBS MongoDB Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Writes data to a stream.

Returns the number of bytes written on success,

See also:

The items on this page are in the following plugins: MBS MongoDB Plugin.


The biggest plugin in space...