Package unsigned

Types

Ubyte
Link copied to clipboard
class Ubyte(v: Byte) : Number, Comparable<Ubyte>
Created by GBarbieri on 20.03.2017.
UbyteArray
Link copied to clipboard
inline class UbyteArray(data: ByteArray)
Uint
Link copied to clipboard
data class Uint(v: Int) : Number, Comparable<Uint>
Created by GBarbieri on 20.03.2017.
UintArray
Link copied to clipboard
inline class UintArray(data: IntArray)
Ulong
Link copied to clipboard
data class Ulong(v: Long) : Number, Comparable<Ulong>
Created by GBarbieri on 20.03.2017.
UlongArray
Link copied to clipboard
inline class UlongArray(data: LongArray)
Ushort
Link copied to clipboard
data class Ushort(v: Short) : Number, Comparable<Ushort>
Created by GBarbieri on 20.03.2017.
UshortArray
Link copied to clipboard
inline class UshortArray(data: ShortArray)

Functions

and
Link copied to clipboard
infix fun Byte.and(b: Ubyte): Byte
infix fun Byte.and(b: Uint): Byte
infix fun Byte.and(b: Ulong): Byte
infix fun Byte.and(b: Ushort): Byte
infix fun Int.and(b: Ubyte): Int
infix fun Int.and(b: Uint): Int
infix fun Int.and(b: Ulong): Int
infix fun Int.and(b: Ushort): Int
infix fun Long.and(b: Ubyte): Long
infix fun Long.and(b: Uint): Long
infix fun Long.and(b: Ulong): Long
infix fun Long.and(b: Ushort): Long
infix fun Short.and(b: Ubyte): Short
infix fun Short.and(b: Uint): Short
infix fun Short.and(b: Ulong): Short
infix fun Short.and(b: Ushort): Short
compareUnsigned
Link copied to clipboard
infix fun Int.compareUnsigned(b: Int): Int
infix fun Long.compareUnsigned(b: Long): Int
divideUnsigned
Link copied to clipboard
infix fun Int.divideUnsigned(divisor: Int): Int
infix fun Long.divideUnsigned(divisor: Long): Long
minus
Link copied to clipboard
operator fun Byte.minus(b: Ubyte): Byte
operator fun Byte.minus(b: Uint): Byte
operator fun Byte.minus(b: Ulong): Byte
operator fun Byte.minus(b: Ushort): Byte
operator fun Int.minus(b: Ubyte): Int
operator fun Int.minus(b: Uint): Int
operator fun Int.minus(b: Ulong): Int
operator fun Int.minus(b: Ushort): Int
operator fun Long.minus(b: Ubyte): Long
operator fun Long.minus(b: Uint): Long
operator fun Long.minus(b: Ulong): Long
operator fun Long.minus(b: Ushort): Long
operator fun Short.minus(b: Ubyte): Short
operator fun Short.minus(b: Uint): Short
operator fun Short.minus(b: Ulong): Short
operator fun Short.minus(b: Ushort): Short
or
Link copied to clipboard
infix fun Byte.or(b: Ubyte): Byte
infix fun Byte.or(b: Uint): Byte
infix fun Byte.or(b: Ulong): Byte
infix fun Byte.or(b: Ushort): Byte
infix fun Int.or(b: Ubyte): Int
infix fun Int.or(b: Uint): Int
infix fun Int.or(b: Ulong): Int
infix fun Int.or(b: Ushort): Int
infix fun Long.or(b: Ubyte): Long
infix fun Long.or(b: Uint): Long
infix fun Long.or(b: Ulong): Long
infix fun Long.or(b: Ushort): Long
infix fun Short.or(b: Ubyte): Short
infix fun Short.or(b: Uint): Short
infix fun Short.or(b: Ulong): Short
infix fun Short.or(b: Ushort): Short
parseUnsignedInt
Link copied to clipboard
fun String.parseUnsignedInt(radix: Int = 10): Int
parseUnsignedLong
Link copied to clipboard
fun String.parseUnsignedLong(radix: Int = 10): Long
plus
Link copied to clipboard
operator fun Byte.plus(b: Ubyte): Byte
operator fun Byte.plus(b: Uint): Byte
operator fun Byte.plus(b: Ulong): Byte
operator fun Byte.plus(b: Ushort): Byte
operator fun Int.plus(b: Ubyte): Int
operator fun Int.plus(b: Uint): Int
operator fun Int.plus(b: Ulong): Int
operator fun Int.plus(b: Ushort): Int
operator fun Long.plus(b: Ubyte): Long
operator fun Long.plus(b: Uint): Long
operator fun Long.plus(b: Ulong): Long
operator fun Long.plus(b: Ushort): Long
operator fun Short.plus(b: Ubyte): Short
operator fun Short.plus(b: Uint): Short
operator fun Short.plus(b: Ulong): Short
operator fun Short.plus(b: Ushort): Short
remainderUnsigned
Link copied to clipboard
infix fun Int.remainderUnsigned(divisor: Int): Int
infix fun Long.remainderUnsigned(divisor: Long): Long
shl
Link copied to clipboard
infix fun Byte.shl(b: Ubyte): Byte
infix fun Byte.shl(b: Uint): Byte
infix fun Byte.shl(b: Ulong): Byte
infix fun Byte.shl(b: Ushort): Byte
infix fun Int.shl(b: Ubyte): Int
infix fun Int.shl(b: Uint): Int
infix fun Int.shl(b: Ulong): Int
infix fun Int.shl(b: Ushort): Int
infix fun Long.shl(b: Ubyte): Long
infix fun Long.shl(b: Uint): Long
infix fun Long.shl(b: Ulong): Long
infix fun Long.shl(b: Ushort): Long
infix fun Short.shl(b: Ubyte): Short
infix fun Short.shl(b: Uint): Short
infix fun Short.shl(b: Ulong): Short
infix fun Short.shl(b: Ushort): Short
times
Link copied to clipboard
operator fun Byte.times(b: Ubyte): Byte
operator fun Byte.times(b: Uint): Byte
operator fun Byte.times(b: Ulong): Byte
operator fun Byte.times(b: Ushort): Byte
operator fun Int.times(b: Ubyte): Int
operator fun Int.times(b: Uint): Int
operator fun Int.times(b: Ulong): Int
operator fun Int.times(b: Ushort): Int
operator fun Long.times(b: Ubyte): Long
operator fun Long.times(b: Uint): Long
operator fun Long.times(b: Ulong): Long
operator fun Long.times(b: Ushort): Long
operator fun Short.times(b: Ubyte): Short
operator fun Short.times(b: Uint): Short
operator fun Short.times(b: Ulong): Short
operator fun Short.times(b: Ushort): Short
toBigInt
Link copied to clipboard
fun Byte.toBigInt(): BigInteger
fun Int.toBigInt(): BigInteger
fun Long.toBigInt(): BigInteger
fun Short.toBigInt(): BigInteger
toUBigInt
Link copied to clipboard
fun Byte.toUBigInt(): BigInteger
fun Int.toUBigInt(): BigInteger
fun Long.toUBigInt(): BigInteger
fun Short.toUBigInt(): BigInteger
toUByte
Link copied to clipboard
fun Byte.toUbyte(): Ubyte
fun Char.toUbyte(): Ubyte
fun Int.toUbyte(): Ubyte
fun Long.toUbyte(): Ubyte
fun Short.toUbyte(): Ubyte
fun Number.toUbyte(): Ubyte
Created by GBarbieri on 06.10.2016.
toUInt
Link copied to clipboard
fun Byte.toUint(): Uint
fun Char.toUint(): Uint
fun Int.toUint(): Uint
fun Long.toUint(): Uint
fun Number.toUint(): Uint
fun Short.toUint(): Uint
toULong
Link copied to clipboard
fun Byte.toUlong(): Ulong
fun Char.toUlong(): Ulong
fun Int.toUlong(): Ulong
fun Long.toUlong(): Ulong
fun Number.toUlong(): Ulong
fun Short.toUlong(): Ulong
toUnsignedBigInteger
Link copied to clipboard
fun Long.toUnsignedBigInteger(): BigInteger
toUnsignedLong
Link copied to clipboard
fun Int.toUnsignedLong(): Long
toUnsignedString
Link copied to clipboard
infix fun Int.toUnsignedString(radix: Int): String
infix fun Long.toUnsignedString(radix: Int): String
toUShort
Link copied to clipboard
fun Byte.toUshort(): Ushort
fun Char.toUshort(): Ushort
fun Int.toUshort(): Ushort
fun Long.toUshort(): Ushort
fun Number.toUshort(): Ushort
fun Short.toUshort(): Ushort
UbyteArray
Link copied to clipboard
fun UbyteArray(size: Int): UbyteArray
fun UbyteArray(size: Int, init: (Int) -> Byte): UbyteArray
ucmp
Link copied to clipboard
infix fun Byte.ucmp(b: Byte): Int
infix fun Byte.ucmp(b: Int): Int
infix fun Byte.ucmp(b: Long): Int
infix fun Byte.ucmp(b: Short): Int
infix fun Byte.ucmp(b: Ubyte): Int
infix fun Byte.ucmp(b: Uint): Int
infix fun Byte.ucmp(b: Ulong): Int
infix fun Byte.ucmp(b: Ushort): Int
infix fun Int.ucmp(b: Byte): Int
infix fun Int.ucmp(b: Int): Int
infix fun Int.ucmp(b: Long): Int
infix fun Int.ucmp(b: Short): Int
infix fun Int.ucmp(b: Ubyte): Int
infix fun Int.ucmp(b: Uint): Int
infix fun Int.ucmp(b: Ulong): Int
infix fun Int.ucmp(b: Ushort): Int
infix fun Long.ucmp(b: Byte): Int
infix fun Long.ucmp(b: Int): Int
infix fun Long.ucmp(b: Long): Int
infix fun Long.ucmp(b: Short): Int
infix fun Long.ucmp(b: Ubyte): Int
infix fun Long.ucmp(b: Uint): Int
infix fun Long.ucmp(b: Ulong): Int
infix fun Long.ucmp(b: Ushort): Int
infix fun Short.ucmp(b: Byte): Int
infix fun Short.ucmp(b: Int): Int
infix fun Short.ucmp(b: Long): Int
infix fun Short.ucmp(b: Short): Int
infix fun Short.ucmp(b: Ubyte): Int
infix fun Short.ucmp(b: Uint): Int
infix fun Short.ucmp(b: Ulong): Int
infix fun Short.ucmp(b: Ushort): Int
udiv
Link copied to clipboard
infix fun Byte.udiv(b: Byte): Byte
infix fun Byte.udiv(b: Int): Byte
infix fun Byte.udiv(b: Long): Byte
infix fun Byte.udiv(b: Short): Byte
infix fun Byte.udiv(b: Ubyte): Byte
infix fun Byte.udiv(b: Uint): Byte
infix fun Byte.udiv(b: Ulong): Byte
infix fun Byte.udiv(b: Ushort): Byte
infix fun Int.udiv(b: Byte): Int
infix fun Int.udiv(b: Int): Int
infix fun Int.udiv(b: Long): Int
infix fun Int.udiv(b: Short): Int
infix fun Int.udiv(b: Ubyte): Int
infix fun Int.udiv(b: Uint): Int
infix fun Int.udiv(b: Ulong): Int
infix fun Int.udiv(b: Ushort): Int
infix fun Long.udiv(b: Byte): Long
infix fun Long.udiv(b: Int): Long
infix fun Long.udiv(b: Long): Long
infix fun Long.udiv(b: Short): Long
infix fun Long.udiv(b: Ubyte): Long
infix fun Long.udiv(b: Uint): Long
infix fun Long.udiv(b: Ulong): Long
infix fun Long.udiv(b: Ushort): Long
infix fun Short.udiv(b: Byte): Short
infix fun Short.udiv(b: Int): Short
infix fun Short.udiv(b: Long): Short
infix fun Short.udiv(b: Short): Short
infix fun Short.udiv(b: Ubyte): Short
infix fun Short.udiv(b: Uint): Short
infix fun Short.udiv(b: Ulong): Short
infix fun Short.udiv(b: Ushort): Short
UintArray
Link copied to clipboard
fun UintArray(size: Int): UintArray
fun UintArray(size: Int, init: (Int) -> Int): UintArray
UlongArray
Link copied to clipboard
fun UlongArray(size: Int): UlongArray
fun UlongArray(size: Int, init: (Int) -> Long): UlongArray
urem
Link copied to clipboard
infix fun Byte.urem(b: Byte): Byte
infix fun Byte.urem(b: Int): Byte
infix fun Byte.urem(b: Long): Byte
infix fun Byte.urem(b: Short): Byte
infix fun Byte.urem(b: Ubyte): Byte
infix fun Byte.urem(b: Uint): Byte
infix fun Byte.urem(b: Ulong): Byte
infix fun Byte.urem(b: Ushort): Byte
infix fun Int.urem(b: Byte): Int
infix fun Int.urem(b: Int): Int
infix fun Int.urem(b: Long): Int
infix fun Int.urem(b: Short): Int
infix fun Int.urem(b: Ubyte): Int
infix fun Int.urem(b: Uint): Int
infix fun Int.urem(b: Ulong): Int
infix fun Int.urem(b: Ushort): Int
infix fun Long.urem(b: Byte): Long
infix fun Long.urem(b: Int): Long
infix fun Long.urem(b: Long): Long
infix fun Long.urem(b: Short): Long
infix fun Long.urem(b: Ubyte): Long
infix fun Long.urem(b: Uint): Long
infix fun Long.urem(b: Ulong): Long
infix fun Long.urem(b: Ushort): Long
infix fun Short.urem(b: Byte): Short
infix fun Short.urem(b: Int): Short
infix fun Short.urem(b: Long): Short
infix fun Short.urem(b: Short): Short
infix fun Short.urem(b: Ubyte): Short
infix fun Short.urem(b: Uint): Short
infix fun Short.urem(b: Ulong): Short
infix fun Short.urem(b: Ushort): Short
UshortArray
Link copied to clipboard
fun UshortArray(size: Int): UshortArray
fun UshortArray(size: Int, init: (Int) -> Short): UshortArray
ushr
Link copied to clipboard
infix fun BigInteger.ushr(bitCount: Int): BigInteger
infix fun Byte.ushr(b: Byte): Byte
infix fun Byte.ushr(b: Int): Byte
infix fun Byte.ushr(b: Short): Byte
infix fun Byte.ushr(b: Ubyte): Byte
infix fun Byte.ushr(b: Uint): Byte
infix fun Byte.ushr(b: Ushort): Byte
infix fun Int.ushr(b: Byte): Int
infix fun Int.ushr(b: Short): Int
infix fun Int.ushr(b: Ubyte): Int
infix fun Int.ushr(b: Uint): Int
infix fun Int.ushr(b: Ushort): Int
infix fun Long.ushr(b: Byte): Long
infix fun Long.ushr(b: Short): Long
infix fun Long.ushr(b: Ubyte): Long
infix fun Long.ushr(b: Uint): Long
infix fun Long.ushr(b: Ushort): Long
infix fun Short.ushr(b: Byte): Short
infix fun Short.ushr(b: Int): Short
infix fun Short.ushr(b: Short): Short
infix fun Short.ushr(b: Ubyte): Short
infix fun Short.ushr(b: Uint): Short
infix fun Short.ushr(b: Ushort): Short
xor
Link copied to clipboard
infix fun Byte.xor(b: Ubyte): Byte
infix fun Byte.xor(b: Uint): Byte
infix fun Byte.xor(b: Ulong): Byte
infix fun Byte.xor(b: Ushort): Byte
infix fun Int.xor(b: Ubyte): Int
infix fun Int.xor(b: Uint): Int
infix fun Int.xor(b: Ulong): Int
infix fun Int.xor(b: Ushort): Int
infix fun Long.xor(b: Ubyte): Long
infix fun Long.xor(b: Uint): Long
infix fun Long.xor(b: Ulong): Long
infix fun Long.xor(b: Ushort): Long
infix fun Short.xor(b: Ubyte): Short
infix fun Short.xor(b: Uint): Short
infix fun Short.xor(b: Ulong): Short
infix fun Short.xor(b: Ushort): Short

Properties

toUnsignedString
Link copied to clipboard
val Int.toUnsignedString: String
no-radix version has a different codepath
toUnsignedString
Link copied to clipboard
val Long.toUnsignedString: String
no-radix version has a different codepath
ub
Link copied to clipboard
val Byte.ub: Ubyte
ub
Link copied to clipboard
val Int.ub: Ubyte
ub
Link copied to clipboard
val Long.ub: Ubyte
ub
Link copied to clipboard
val Short.ub: Ubyte
ui
Link copied to clipboard
val Byte.ui: Uint
ui
Link copied to clipboard
val Int.ui: Uint
ui
Link copied to clipboard
val Long.ui: Uint
ui
Link copied to clipboard
val Short.ui: Uint
ul
Link copied to clipboard
val Byte.ul: Ulong
ul
Link copied to clipboard
val Int.ul: Ulong
ul
Link copied to clipboard
val Long.ul: Ulong
ul
Link copied to clipboard
val Short.ul: Ulong
us
Link copied to clipboard
val Byte.us: Ushort
us
Link copied to clipboard
val Int.us: Ushort
us
Link copied to clipboard
val Long.us: Ushort
us
Link copied to clipboard
val Short.us: Ushort
version
Link copied to clipboard
val version: String