Instance Property


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


var hasSpaceAvailable: Bool { get }


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.