Writes a single chunk to the output stream.
The data to write.
The number of bytes that were written, not including the chunk header and trailer elements.
See Implementation
Writes a single chunk to the output stream.