class UInt64 : UInt64Value<UInt64>
(source)
An unsigned 64-bit precision number. This is a raw UInt64Value - a 64-bit precision unsigned number of no particular unit.
static val MAX_VALUE: UInt64
The maximum value of a UInt64 |
|
static val MIN_VALUE: UInt64
The minimum value of a UInt64 |
|
static val ONE: UInt64
The value 1 |
|
static val ZERO: UInt64
The value 0 |
fun add(value: UInt64): UInt64 fun add(value: Long): UInt64 |
|
fun addMod(value: UInt64, modulus: UInt64): UInt64 fun addMod(value: Long, modulus: UInt64): UInt64 fun addMod(value: Long, modulus: Long): UInt64 |
|
fun and(value: UInt64): UInt64
Return a bit-wise AND of this value and the supplied value. fun and(bytes: Bytes): UInt64
Return a bit-wise AND of this value and the supplied bytes. |
|
fun bitLength(): Int |
|
fun compareTo(other: UInt64): Int |
|
fun divide(value: UInt64): UInt64 fun divide(value: Long): UInt64 |
|
fun equals(other: Any?): Boolean |
|
fun fitsInt(): Boolean |
|
fun fitsLong(): Boolean |
|
static fun fromBytes(bytes: Bytes): UInt64
Return a UInt64 containing the value described by the specified bytes. |
|
static fun fromHexString(str: String): UInt64
Parse a hexadecimal string into a UInt64. |
|
fun hashCode(): Int |
|
fun intValue(): Int |
|
fun isZero(): Boolean |
|
fun mod(modulus: UInt64): UInt64 fun mod(modulus: Long): UInt64 |
|
fun multiply(value: UInt64): UInt64 fun multiply(value: Long): UInt64 |
|
fun multiplyMod(value: UInt64, modulus: UInt64): UInt64 fun multiplyMod(value: Long, modulus: UInt64): UInt64 fun multiplyMod(value: Long, modulus: Long): UInt64 |
|
fun not(): UInt64
Return a bit-wise NOT of this value. |
|
fun numberOfLeadingZeros(): Int |
|
fun or(value: UInt64): UInt64
Return a bit-wise OR of this value and the supplied value. fun or(bytes: Bytes): UInt64
Return a bit-wise OR of this value and the supplied bytes. |
|
fun pow(exponent: UInt64): UInt64 fun pow(exponent: Long): UInt64 |
|
fun shiftLeft(distance: Int): UInt64
Shift all bits in this value to the left. |
|
fun shiftRight(distance: Int): UInt64
Shift all bits in this value to the right. |
|
fun subtract(value: UInt64): UInt64 fun subtract(value: Long): UInt64 |
|
fun toBigInteger(): BigInteger |
|
fun toBytes(): Bytes |
|
fun toLong(): Long |
|
fun toMinimalBytes(): Bytes |
|
fun toString(): String |
|
fun toUInt64(): UInt64 |
|
static fun valueOf(value: Long): UInt64
Return a static fun valueOf(value: BigInteger): UInt64
Return a UInt64 containing the specified value. |
|
fun xor(value: UInt64): UInt64
Return a bit-wise XOR of this value and the supplied value. If this value and the supplied value are different lengths, then the shorter will be zero-padded to the left. fun xor(bytes: Bytes): UInt64
Return a bit-wise XOR of this value and the supplied bytes. |
open fun addExact(value: T): T open fun addExact(value: Long): T
Returns a value that is |
|
open fun subtractExact(value: T): T open fun subtractExact(value: Long): T
Returns a value that is |
|
open fun toHexString(): String
This value represented as an hexadecimal string. Note that this representation includes all the 8 underlying bytes, no matter what the integer actually represents (in other words, it can have many leading zeros). For a shorter representation that don't include leading zeros, use |
|
open fun toShortHexString(): String |