ByChunk.this

Initializes the range. A byte buffer with the given size is allocated to hold the chunks.

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

Parameters

source Stream

A stream that can be read from.

size size_t

The size of each chunk to read at a time.

Meta