Constructs a new SockStream from the provided socket
Closes the stream
Reads bytes from the socket 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 socket into the provided array until the array is fully-filled
Writes bytes to the socket 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 socket from the provided array until the array has been fully written
Provides a stream interface to a Socket which has