ByChunk.this

Initializes the range with the specified buffer. This is useful for providing your own buffer that may be stack allocated.

  1. this(Stream source, size_t size)
  2. this(Stream source, ubyte[] buffer)
    struct ByChunk(Stream)
    this
    (
    Stream source
    ,
    ubyte[] buffer
    )
    if (
    isSource!Stream
    )

Parameters

source Stream

A stream that can be read from.

buffer ubyte[]

A byte array to hold each chunk as it is read.

Meta