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

    Function createHeapRoot

    • Starts the integrity root of an image: sha256 over the metadata that steers a restore, then each chunk's seq, inflated length, stored length and sha256 in order.

      It covers the stored (deflated) bytes, so a verify never inflates, and the writer and the verifier share this one definition. The FNV digests in the rows prove nothing against a writer that can also write them.

      Parameters

      Returns {
          addChunk(seq: number, rawBytes: number, stored: Uint8Array): void;
          finish(): HeapRootResult;
      }