Closes the chunked-encoded stream, which also flushes the stream, effectively writing a final zero-size chunk header and footer. Also closes the underlying stream, if possible.
Flushes the chunked-encoded stream by writing a final zero-size chunk header and footer.
Writes a single chunk to the output stream.
An output stream for writing to a chunked-encoded stream of bytes.