AllocatorAlloc extension
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.
Extension on Allocator to provide allocation with NativeType.
sizeOf<T>() * count
bytes of memory using allocate.