allocate<T extends NativeType> method
Allocates byteCount bytes of memory on the native heap.
The parameter alignment
is ignored.
Implementation
@override
Pointer<T> allocate<T extends NativeType>(int byteCount, {int? alignment}) {
return new Pointer<T>.fromAddress(_module.malloc(byteCount), this);
}