asOutputStream

Returns an output stream that writes to this sink. Closing the stream will also close this sink.

Samples