ChunkedEncodingInputStream.readFromStream

Reads from a chunked-encoded input stream in a way that respects chunk boundaries.

struct ChunkedEncodingInputStream(S)
readFromStream
(
ubyte[] buffer
)

Parameters

buffer ubyte[]

The buffer to read bytes into.

Return Value

The number of bytes that were read, or -1 in case of error.

Meta