allocate<T extends NativeType> abstract method

Pointer<T> allocate<T extends NativeType>(
  1. int byteCount, {
  2. int? alignment,
})

Allocates byteCount bytes of memory on the native heap.

The parameter alignment is ignored.

Implementation

Pointer<T> allocate<T extends NativeType>(int byteCount, {int? alignment});