Instance Property

hasSpaceAvailable

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

Declaration

var hasSpaceAvailable: Bool { get }

Discussion

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

See Also

Using Streams

func write(UnsafePointer<UInt8>, maxLength: Int) -> Int

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