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

    Function joinChunks

    • Concatenates stored rows back into one buffer.

      Sorts by seq rather than trusting arrival order: SQLite returns rows in whatever order the query plan produces, and an out-of-order join yields a heap that is the right LENGTH and wrong content, which is the failure shape this project keeps producing.

      Parameters

      • chunks: HeapChunk[]
      • OptionalexpectedBytes: number

      Returns Uint8Array