@gmitch215/folio - v1.0.1
    Preparing search index...

    Interface MemoryImage

    The pages of a booted memory that differ from a fresh instance of the same module, plus the mutable globals and table slots boot changed. Pages that are zero in both are not stored.

    interface MemoryImage {
        byteLength: number;
        context?: string;
        data: Uint8Array;
        globals?: Record<number, GlobalValue>;
        module?: string;
        pages: number[];
        tableSlots?: number[];
    }
    Index
    byteLength: number

    Size of the booted memory, a multiple of 65,536.

    context?: string

    Caller-supplied digest of whatever else shapes the heap (settings, shims, assets); this module keeps it as an opaque string of at most 4,096 UTF-8 bytes and compares it at replay.

    data: Uint8Array

    The bytes of those pages, in the same order (pages.length * 65,536 bytes).

    globals?: Record<number, GlobalValue>

    Mutable globals whose value differs from the fresh instance, by wasm global index.

    module?: string

    Lowercase sha256 hex of the module bytes the image was taken from.

    pages: number[]

    Page indexes that differ, strictly ascending.

    tableSlots?: number[]

    Function table slots whose function differs from the fresh instance.