Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSStreamMBS class.

NSStreamMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Closes the receiver.

Closing the stream terminates the flow of bytes and releases system resources that were reserved for the stream when it was opened. If the stream has been scheduled on a run loop, closing the stream implicitly removes the stream from the run loop. A stream that is closed can still be queried for its properties.

NSStreamMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

NSStreamMBS.Open

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Opens the receiving stream.

A stream must be created before it can be opened. Once opened, a stream cannot be closed and reopened.

NSStreamMBS.SetPosition(pos as Int64) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets position in a stream.

Returns true on success or false on failure.

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


The biggest plugin in space...