react-playground
    Preparing search index...

    Function from2bitArrayTo128bit

    • Convert 2bit array to 128bit value

      Parameters

      • array: Uint8Array

        Uint8Array with 64 elements (2 bits each)

      Returns bigint

      bigint representing the 128-bit value

      Error if the array length is not 64 or if any element is not in the range of 0-3