Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSInputStreamMBS class.

NSInputStreamMBS.Constructor(filePath as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes and returns an NSInputStream object that reads data from the file at a given path.

The stream must be opened before it can be used.

NSInputStreamMBS.LookAHead as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns copy of read buffer.

Allows looking into data before reading it.

NSInputStreamMBS.Read(maxLength as Integer) as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Reads up to a given number of bytes into a given buffer.

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


The biggest plugin in space...