AllocatorAlloc extension Null safety
Extension on Allocator to provide allocation with NativeType.
Methods
-
call<
T extends NativeType> ([int count = 1]) → Pointer< T> -
Allocates
sizeOf<T>() * count
bytes of memory usingallocator.allocate
. [...]