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