write
Writes a contiguous byte range to the remote host input stream.
The range must be synchronously consumed or copied before this method returns because callers may immediately reuse bytes.
Parameters
bytes
byte array containing data to write.
offset
starting index in the byte array.
length
number of bytes to write.