write
Writes a block of bytes to the current stream using data read from buffer.
Parameters
buffer
The buffer to write data from.
offset
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count
The maximum number of bytes to write.