Binary Raw - Docs
    Preparing search index...

    Function sliceRows

    • Splits a buffer into rows of cols bytes each. Only generates rows within range [startRow, endRow). Used by virtualized scroll in hex-view.ts.

      Parameters

      • buffer: Uint8Array

        Complete file buffer

      • cols: number

        Bytes per row (8, 16, or 32)

      • startRow: number

        Index of first row to generate

      • endRow: number

        Index of last row (exclusive)

      Returns HexRow[]