CircularBlocks.this

Construct an object that will use the provided buffers

This constructor will be friendly to the sliding window use case. As long as the window width remains less than or equal to the capacity of the shortest buffer, there should be no heap block allocation.

This constructor picks the longest buffer's capacity to use for potential heap block allocations.

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

Parameters

buffers ubyte[N][M]

the _buffers to use for the elements

Meta