OutputStreams are used for writing to some kind of IO streams. You don’t typically create an output stream yourself, but instead get one from an another source, e.g. Process.stdin.
True if the stream is closed, and false otherwise.
Closes the output stream.
data to the output stream. Raises an error upon any IO error.