Instance Property

hasSpaceAvailable

A boolean value that indicates whether the receiver can be written to.

Declaration

@property(readonly) BOOL hasSpaceAvailable;

Discussion

YES if the receiver can be written to or if a write must be attempted in order to determine if space is available, NO otherwise.

See Also

Using Streams

- write:maxLength:

Writes the contents of a provided data buffer to the receiver.