Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSInputStreamMBS class.
NSInputStreamMBS.inputStreamWithData(data as Memoryblock) as NSInputStreamMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
data: The data object from which to read. The contents of data are copied.
Returns an initialized NSInputStream object for reading from data. If data is not an NSData object, this method returns nil.
The stream must be opened before it can be used.
NSInputStreamMBS.inputStreamWithFileAtPath(path as string) as NSInputStreamMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
path: The path to the file.
Returns an initialized NSInputStream object that reads data from the file at path.
The stream must be opened before it can be used.
NSInputStreamMBS.inputStreamWithURL(URL as string) as NSInputStreamMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
url: The URL to the file.
Returns an initialized NSInputStream object that reads data from the URL at url.
The stream must be opened before it can be used.
The items on this page are in the following plugins: MBS MacBase Plugin.