installSharedBytesAllocator function
void
installSharedBytesAllocator(
Installs the generated module's private allocator once during startup.
Implementation
void installSharedBytesAllocator(SharedBytes Function(int) allocate) {
_allocate ??= allocate;
}