MonoMac.Foundation.NSInputStream: Method Members

The methods of MonoMac.Foundation.NSInputStream are listed below. For a list of all members, see the NSInputStream Members list.

See Also: Inherited members from MonoMac.Foundation.NSStream

Public Methods

static
FromData(NSData) : NSInputStream
Documentation for this section has not yet been entered.
static
FromFile(string) : NSInputStream
Documentation for this section has not yet been entered.
static
FromUrl(NSUrl) : NSInputStream
Documentation for this section has not yet been entered.
HasBytesAvailable() : bool
Returna a boolean value indicating whether the stream has bytes available to be read.
Notify(MonoMac.CoreFoundation.CFStreamEventType)
Notifies consumers of events in the stream.
Read(byte[], uint) : int
Reads data from the stream into the provided buffer.
Read(IntPtr, uint) : int
Reads data from the stream into the provided buffer. You should not call this method directly, you should call NSInputStream.Read(byte[], uint) instead. This method is for NSInputStream subclasses to implement.
ScheduleInCFRunLoop(MonoMac.CoreFoundation.CFRunLoop, NSString)
Schedules the stream in a RunLoop.
UnscheduleInCFRunLoop(MonoMac.CoreFoundation.CFRunLoop, NSString)
Unschedules the stream from a RunLoop.

Protected Methods

override
Dispose(bool)
Releases the resourced used by the NSInputStream object.
GetBuffer(out IntPtr, out uint) : bool
This method can return a pointer to a buffer the caller can read data from.
SetCFClientFlags(MonoMac.CoreFoundation.CFStreamEventType, IntPtr, IntPtr) : bool
Adds a client for the stream. This method is not supposed to be called by managed code, it will be called by consumers of the straem. When overriding it make sure to call the base implementation.