class UInt32 : UInt32Value<UInt32>
(source)
An unsigned 32-bit precision number. This is a raw UInt32Value - a 32-bit precision unsigned number of no particular unit.
static val MAX_VALUE: UInt32
The maximum value of a UInt32 |
|
static val MIN_VALUE: UInt32
The minimum value of a UInt32 |
|
static val ONE: UInt32
The value 1 |
|
static val ZERO: UInt32
The value 0 |
fun add(value: UInt32): UInt32 fun add(value: Int): UInt32 |
|
fun addMod(value: UInt32, modulus: UInt32): UInt32 fun addMod(value: Long, modulus: UInt32): UInt32 fun addMod(value: Long, modulus: Long): UInt32 |
|
fun and(value: UInt32): UInt32
Return a bit-wise AND of this value and the supplied value. fun and(bytes: Bytes): UInt32
Return a bit-wise AND of this value and the supplied bytes. |
|
fun bitLength(): Int |
|
fun compareTo(other: UInt32): Int |
|
fun divide(value: UInt32): UInt32 fun divide(value: Int): UInt32 |
|
fun equals(other: Any?): Boolean |
|
static fun fromBytes(bytes: Bytes): UInt32
Return a UInt32 containing the value described by the specified bytes. |
|
static fun fromHexString(str: String): UInt32
Parse a hexadecimal string into a UInt32. |
|
fun hashCode(): Int |
|
fun intValue(): Int |
|
fun isZero(): Boolean |
|
fun mod(modulus: UInt32): UInt32 fun mod(modulus: Int): UInt32 |
|
fun multiply(value: UInt32): UInt32 fun multiply(value: Int): UInt32 |
|
fun multiplyMod(value: UInt32, modulus: UInt32): UInt32 fun multiplyMod(value: Int, modulus: UInt32): UInt32 fun multiplyMod(value: Int, modulus: Int): UInt32 |
|
fun not(): UInt32
Return a bit-wise NOT of this value. |
|
fun numberOfLeadingZeros(): Int |
|
fun or(value: UInt32): UInt32
Return a bit-wise OR of this value and the supplied value. fun or(bytes: Bytes): UInt32
Return a bit-wise OR of this value and the supplied bytes. |
|
fun pow(exponent: UInt32): UInt32 fun pow(exponent: Long): UInt32 |
|
fun shiftLeft(distance: Int): UInt32
Shift all bits in this value to the left. |
|
fun shiftRight(distance: Int): UInt32
Shift all bits in this value to the right. |
|
fun subtract(value: UInt32): UInt32 fun subtract(value: Int): UInt32 |
|
fun toBigInteger(): BigInteger |
|
fun toBytes(): Bytes |
|
fun toLong(): Long |
|
fun toMinimalBytes(): Bytes |
|
fun toString(): String |
|
fun toUInt32(): UInt32 |
|
static fun valueOf(value: Int): UInt32
Return a static fun valueOf(value: BigInteger): UInt32
Return a UInt32 containing the specified value. |
|
fun xor(value: UInt32): UInt32
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): UInt32
Return a bit-wise XOR of this value and the supplied bytes. |
open fun addExact(value: T): T open fun addExact(value: Int): T
Returns a value that is |
|
open fun fitsInt(): Boolean |
|
open fun fitsLong(): Boolean |
|
open fun subtractExact(value: T): T open fun subtractExact(value: Int): 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 |