Function splitAt

  • Splits the array at a given index.

    Returns

    A new Uint8Array from the start to index i.

    Throws

    Error if the index is out of bounds.

    Parameters

    • i: number

      The index to split the array.

    • arr: Uint8Array

      The Uint8Array to split.

    Returns Uint8Array[]

Generated using TypeDoc