USize

final class USize(val rawSize: RawSize) extends ScalaNumber with Comparable[USize]
Companion:
object
class Number
class Object
trait Matchable
class Any

Value members

Concrete methods

def !=(x: UByte): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def !=(x: UShort): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def !=(x: UInt): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def !=(x: ULong): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def !=(other: USize): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def %(x: UByte): USize

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def %(x: UShort): USize

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def %(x: UInt): USize

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def %(x: ULong): ULong

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def %(other: USize): USize

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def &(x: UByte): USize

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def &(x: UShort): USize

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def &(x: UInt): USize

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def &(x: ULong): ULong

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def &(other: USize): USize

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def *(x: UByte): USize

Returns the product of this value and x.

Returns the product of this value and x.

def *(x: UShort): USize

Returns the product of this value and x.

Returns the product of this value and x.

def *(x: UInt): USize

Returns the product of this value and x.

Returns the product of this value and x.

def *(x: ULong): ULong

Returns the product of this value and x.

Returns the product of this value and x.

def *(other: USize): USize

Returns the product of this value and x.

Returns the product of this value and x.

def +(x: UByte): USize

Returns the sum of this value and x.

Returns the sum of this value and x.

def +(x: UShort): USize

Returns the sum of this value and x.

Returns the sum of this value and x.

def +(x: UInt): USize

Returns the sum of this value and x.

Returns the sum of this value and x.

def +(x: ULong): ULong

Returns the sum of this value and x.

Returns the sum of this value and x.

def +(other: USize): USize

Returns the sum of this value and x.

Returns the sum of this value and x.

def -(x: UByte): USize

Returns the difference of this value and x.

Returns the difference of this value and x.

def -(x: UShort): USize

Returns the difference of this value and x.

Returns the difference of this value and x.

def -(x: UInt): USize

Returns the difference of this value and x.

Returns the difference of this value and x.

def -(x: ULong): ULong

Returns the difference of this value and x.

Returns the difference of this value and x.

def -(other: USize): USize

Returns the difference of this value and x.

Returns the difference of this value and x.

def /(x: UByte): USize

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def /(x: UShort): USize

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def /(x: UInt): USize

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def /(x: ULong): ULong

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def /(other: USize): USize

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def <(x: UByte): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <(x: UShort): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <(x: UInt): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <(x: ULong): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <(other: USize): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <<(x: Int): USize

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Example:
 6 << 3 == 48 // in binary: 0110 << 3 == 0110000 
def <<(x: Long): USize

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Example:
 6 << 3 == 48 // in binary: 0110 << 3 == 0110000 
def <=(x: UByte): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def <=(x: UShort): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def <=(x: UInt): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def <=(x: ULong): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def <=(other: USize): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def ==(x: UByte): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def ==(x: UShort): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def ==(x: UInt): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def ==(x: ULong): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def ==(other: USize): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def >(x: UByte): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >(x: UShort): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >(x: UInt): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >(x: ULong): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >(other: USize): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >=(x: UByte): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

def >=(x: UShort): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

def >=(x: UInt): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

def >=(x: ULong): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

def >=(other: USize): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

final def >>(x: Int): USize

Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

Example:
4294967275 >> 3 == 4294967293
// in binary: 11111111 11111111 11111111 11101011 >> 3 ==
//            11111111 11111111 11111111 11111101
final def >>(x: Long): USize

Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

Example:
4294967275 >> 3 == 4294967293
// in binary: 11111111 11111111 11111111 11101011 >> 3 ==
//            11111111 11111111 11111111 11111101
def >>>(x: Int): USize

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Example:
 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010 
4294967275 >>> 3 == 536870909
// in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
//            00011111 11111111 11111111 11111101
def >>>(x: Long): USize

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Example:
 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010 
4294967275 >>> 3 == 536870909
// in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
//            00011111 11111111 11111111 11111101
def ^(x: UByte): USize

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

def ^(x: UShort): USize

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

def ^(x: UInt): USize

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

def ^(x: ULong): ULong

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

def ^(other: USize): USize

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

final override def compareTo(x: USize): Int
Definition Classes
override def doubleValue(): Double
Definition Classes
override def equals(other: Any): Boolean
Definition Classes
Any
override def floatValue(): Float
Definition Classes
override def hashCode: Int
Definition Classes
Any
override def intValue(): Int
Definition Classes
override def longValue(): Long
Definition Classes
final def max(that: USize): USize
final def min(that: USize): USize
def toPtr[T]: Ptr[T]
override def toString(): String
Definition Classes
Any

Returns the bitwise negation of this value.

Returns the bitwise negation of this value.

Example:
~5 == 4294967290
// in binary: ~00000101 ==
//             11111010
override def underlying: USize
Definition Classes
def |(x: UByte): USize

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

def |(x: UShort): USize

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

def |(x: UInt): USize

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

def |(x: ULong): ULong

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

def |(other: USize): USize

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

Inherited methods

Inherited from:
Number
Inherited from:
Number