• Swaps endianness of given 64 bit value.

    Parameters

    • value: bigint

      The value to swap.

    Returns bigint

    the swapped value.