CircularBlocks.this

Construct an object that will use the provided buffer

This constructor will allocate at least one additional heap block for a sliding window use case. Consider the constructor that takes array of arrays to prevent that allocation.

  1. this(size_t heapBlockCapacity)
  2. this(ubyte[] buffer)
    struct CircularBlocks(T)
    nothrow pure scope
    this
    (
    ubyte[] buffer
    )
  3. this(ubyte[][] buffers)
  4. this(ubyte[N][M] buffers)

Parameters

buffer ubyte[]

the buffer to use for the elements

Meta