Arena<T extends NativeType, L extends List<int>> constructor

Arena<T extends NativeType, L extends List<int>>(
  1. int length,
  2. L _getView(
    1. Pointer<T>,
    2. int
    )
)

length of allocated memory. _getView returns the associated typed list for Pointer<T>.

Implementation

Arena(this.length, this._getView) : _arrPtr = allocate(count: length);