MonoMac.Foundation.NSInputStream Members

The members of MonoMac.Foundation.NSInputStream are listed below.

See Also: Inherited members from MonoMac.Foundation.NSStream

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Documentation for this section has not yet been entered.
Constructor to call on derived classes when the derived class has an [Export] constructor.
Documentation for this section has not yet been entered.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Documentation for this section has not yet been entered.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.

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.