Internal interface to ensure all integer types can be used equally

Implements

Methods

  • Returns bigint

  • Returns number

  • Returns string

  • Creates a Uint64 from a fixed length byte array.

    Parameters

    • bytes: ArrayLike<number>

      a list of exactly 8 bytes

    • Optionalendianess: "be" | "le"

      defaults to big endian

    Returns Uint64

  • Parameters

    Returns Uint64

    use Uint64.fromBytes

  • Parameters

    • input: number

    Returns Uint64

  • Parameters

    • str: string

    Returns Uint64