An array of bytes. This method copies count bytes from buf to the current stream.
offset
The zero-based byte offset in buf at which to begin copying bytes to the current stream.
count
The number of bytes to be written to the current stream.
Remarks
The data is compressed as it is written into the stream. Writing count bytes into the stream will usually advance the position by a number smaller than count.