call<T extends NativeType> method

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]);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-ffi/AllocatorAlloc/call.html