WasmSharedMemoryAllocator Delegate

Allocates the bytes of a shared memory (see WasmStoreOptions.SharedMemoryAllocator).

public delegate WasmSharedMemoryBlock WasmSharedMemoryAllocator(ulong byteLength, ulong capacity)

Parameters

byteLength ulong
The initial size of the memory in bytes.
capacity ulong
The maximum size of the memory in bytes: the bytes are allocated for it.