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

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

_arrPtr points to a pre-allocated array of length.

Implementation

Arena.fromPtr(this._arrPtr, this.length, this._getView);