ByChunk.front

struct ByChunk(Stream)
const pure
const(ubyte)[]
front
()
if (
isSource!Stream
)

Return Value

Type: const(ubyte)[]

The current chunk of the stream.

Note that a full chunk is not guaranteed to be returned. In the event of a partial read from the stream, this will be less than the maximum chunk size. Code should be impartial to the size of the returned chunk.

Meta