DynamicArray.resize

Change the array length. When growing, initialize new elements to the default value.

  1. void resize(size_t n)
    struct DynamicArray(T, Allocator = SpasmGCAllocator)
    static if(is(typeof( )))
    void
    resize
  2. void resize(size_t n, T value)

Meta