• Reverse bits of a bigint, treating it as a size-bit number

    Parameters

    • value: bigint
    • size: number | bigint

    Returns bigint