vibe.d beta banner
get vibe.d
0.8.1

Asynchronous I/O that doesn’t get in your way, written in D

Class ChunkedOutputStream

Outputs data to an output stream in HTTP chunked format.

class ChunkedOutputStream
  : OutputStream ;

Constructors

NameDescription
this

Properties

NameTypeDescription
chunkExtensionCallback[get, set]string delegate(const(ubyte[]))A delegate used to specify the extensions for each chunk written to the underlying stream.
maxBufferSize[get, set]ulongMaximum buffer size used to buffer individual chunks.

Methods

NameDescription
finalizeFlushes and finalizes the stream.
flushFlushes the stream and makes sure that all data is being written to the output device.
writeWrites an array of bytes to the stream.
writePipes an InputStream directly into this OutputStream.

Aliases

NameDescription
ChunkExtensionCallback
write
Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.