drupflare/worker - v1.0.4
    Preparing search index...

    Function reassembleHeap

    • Rebuilds the full heap from an elided one. Pages not in pageIndex come back as zero.

      The result is byteLength long, not totalPages * pageBytes (the last page is usually partial, and one extra byte fails the digest compare).

      Parameters

      • elided: ElidedHeap
      • pageBytes: number = WASM_PAGE_BYTES

      Returns Uint8Array