Function bytesToBigIntLE

  • Converts a little-endian byte array into a BigInt. This function is useful for interpreting byte data as a numerical value in a way that respects the little-endian format.

    Parameters

    • bytes: Uint8Array

      The byte array to convert.

    Returns bigint

    The resulting BigInt representation of the byte array.