Foundation.NSInputStream: Method Members

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

See Also: Inherited members from 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(CoreFoundation.CFStreamEventType)
Notifies consumers of events in the stream.
Read(byte[], nuint) : nint
Reads data from the stream into the provided buffer.
Read(IntPtr, nuint) : nint
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.
Read(byte[], int, nuint) : nint
Documentation for this section has not yet been entered.

Protected Methods

override
Dispose(bool)
Releases the resources used by the NSInputStream object.
GetBuffer(out IntPtr, out nuint) : bool
This method can return a pointer to a buffer the caller can read data from.
SetCFClientFlags(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.