Closes the stream
Reads bytes from the stream into the provided array and returns without any further waiting, at most the number of bytes read will be the length of the provided array, at minimum a single byte
Reads bytes from the stream into the provided array until the array is fully-filled
Writes bytes to the stream from the provided array and returns without any further waiting, at most the number of bytes written will be the length of the provided array, at minimum a single byte
Writes bytes to the stream from the provided array until the array has been fully written
Defines a stream which can be read fro and written to