call<T extends NativeType> method Null safety

Pointer<T> call<T extends NativeType>(
  1. [int count = 1]
)

Allocates sizeOf<T>() * count bytes of memory using allocator.allocate.

This extension method must be invoked with a compile-time constant T.

Implementation

external Pointer<T> call<T extends NativeType>([int count = 1]);