Array.this

Construct a buffer.

  1. this(size_t capacity, size_t growing)
    class Array
    this
    (
    size_t capacity
    ,
    size_t growing = 0
    )
  2. this(void[] data)
  3. this(void[] data, size_t readable)

Parameters

capacity size_t

The number of bytes to make available.

growing size_t

Chunk size of a growable instance, or zero to prohibit expansion.

Remarks: Construct a Buffer with the specified number of bytes and expansion policy.

Meta