Arena<T extends NativeType, L extends List<int> > constructor
- int length,
- L _getView(
- Pointer<
T> , - int
- Pointer<
length
of allocated memory.
_getView
returns the associated typed list for Pointer<T>
.
Implementation
Arena(this.length, this._getView) : _arrPtr = allocate(count: length);