Abstractwhen true (default) dropped pointers are reclaimed automatically via a FinalizationRegistry (when available).
The active memory buffer (== view.buffer). Retained for API compatibility.
AbstractviewThe active typed-array memory view.
Allocates size elements and returns an owning, GC-registered pointer.
Protected AbstractcreateAllocates size elements and returns its byte offset.
Releases a pointer previously produced by allocate. Idempotent.
Protected AbstractfreeFrees the region at byteOffset of size elements.
Wraps an already-allocated raw offset as an owning, GC-registered pointer. Used by allocate and by the wasm binding, whose math ops allocate their result region inside wasm memory and hand back the raw offset.
Base class for MemoryManagers. Implements
allocate/freeplus the embedded FinalizationRegistry that reclaims dropped pointers. Concrete managers implement createRaw/freeRaw and theviewgetter.