munum - v0.3.0
    Preparing search index...

    Interface MemoryManager<V>

    A linear memory manager that allocates element regions and produces owning TypedArrayPointers. Owns an (optional) FinalizationRegistry so dropped pointers are reclaimed automatically.

    interface MemoryManager<V extends TypedArray = Float64Array> {
        buffer: ArrayBufferLike;
        view: V;
        allocate(size: number): TypedArrayPointer<V>;
        free(ptr: TypedArrayPointer<V>): void;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index
    buffer: ArrayBufferLike

    The active memory buffer (== view.buffer). Retained for API compatibility.

    view: V

    The active typed-array memory view.