Edytuj

Udostępnij za pośrednictwem


NSInputStream.HasBytesAvailable Method

Definition

Returna a boolean value indicating whether the stream has bytes available to be read.

[Foundation.Export("hasBytesAvailable")]
public virtual bool HasBytesAvailable ();
abstract member HasBytesAvailable : unit -> bool
override this.HasBytesAvailable : unit -> bool

Returns

A boolean value indicating whether the stream has bytes available to be read.

Attributes

Remarks

This method should return true if it does not know if there are available bytes or not.

Applies to