malloc method

  1. @override
int malloc(
  1. int size
)
override

Provides access to the malloc function in WebAssembly.

Allocates size bytes of memory and returns the corresponding address.

Memory allocated by this should be freed afterwards.

Implementation

@override
int malloc(int size) => _malloc(size);