Write bytes to a stream. This function blocks until the bytes has been written to the stream.
public void write(byte[] bytes)
bytes: