plotomics
    Preparing search index...

    Function decodeColumns

    • Decode a packed buffer into named typed arrays according to schema. Throws if a column would read out of bounds, since silently truncating scientific data is worse than failing loudly.

      Parameters

      • buffer: ArrayBuffer | Uint8Array<ArrayBufferLike> | DataView<ArrayBufferLike>
      • schema: BufferSchema

      Returns Record<string, TypedArray>