ChunkedEncodingOutputStream

An output stream for writing to a chunked-encoded stream of bytes.

Constructors

this
this(S stream)
Undocumented in source.

Members

Functions

closeStream
OptionalStreamError closeStream()

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.

flushStream
OptionalStreamError flushStream()

Flushes the chunked-encoded stream by writing a final zero-size chunk header and footer.

writeToStream
StreamResult writeToStream(ubyte[] buffer)

Writes a single chunk to the output stream.

Meta