malloc<T> function

Pointer<T> malloc<T>([
  1. int length = 1
])

Implementation

Pointer<T> malloc<T>([int length = 1]) {
  final addr = jsDatabaseUniverse.malloc(length * _sizes[T]!);
  return addr;
}