sealed abstract class Int32 extends SignedNumber[Int32]
Represents a int32_t in C
- Alphabetic
- By Inheritance
- Int32
- SignedNumber
- Number
- BasicArithmetic
- Ordered
- Comparable
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &(num: Int32): Int32
- Definition Classes
- Number
- def *(num: Int32): Int32
- Definition Classes
- Number → BasicArithmetic
- def *(factor: BigInt): Int32
- Definition Classes
- Number → BasicArithmetic
- def +(num: Int32): Int32
- Definition Classes
- Number → BasicArithmetic
- def -(num: Int32): Int32
- Definition Classes
- Number → BasicArithmetic
- def /(num: Int32): Int32
- Definition Classes
- Number
- def <(that: Int32): Boolean
- Definition Classes
- Ordered
- def <<(num: Int32): Int32
- Definition Classes
- Number
- def <<(num: Int): Int32
- Definition Classes
- Number
- def <=(that: Int32): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: Int32): Boolean
- Definition Classes
- Ordered
- def >=(that: Int32): Boolean
- Definition Classes
- Ordered
- def >>(num: Int32): Int32
- Definition Classes
- Number
- def >>(num: Int): Int32
- Definition Classes
- Number
- def ^(num: Long): Int32
- Definition Classes
- Number
- def ^(num: Int32): Int32
- Definition Classes
- Number
- def addSafe(n: Int32): Try[Int32]
Some classes have restrictions on upper bounds for it's underlying value.
Some classes have restrictions on upper bounds for it's underlying value. This might cause the
+
operator to throw. This method wraps it in aTry
block.- Definition Classes
- BasicArithmetic
- val andMask: BigInt
This is used to determine the valid amount of bytes in a number for instance a UInt8 has an andMask of 0xff a UInt32 has an andMask of 0xffffffff
- def apply: (A) => Int32
Factory function to create the underlying T, for instance a UInt32.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
- NetworkElement
- val bytes: ByteVector
The byte representation of the NetworkElement
The byte representation of the NetworkElement
- Definition Classes
- Int32 → NetworkElement
- def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compare(num: Int32): Int
- Definition Classes
- Number → Ordered
- def compareTo(that: Int32): Int
- Definition Classes
- Ordered → Comparable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
- NetworkElement
- def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isSigned: Boolean
- Definition Classes
- SignedNumber → Number
- def multiplySafe(factor: Int32): Try[Int32]
Some classes have restrictions on upper bounds for it's underlying value.
Some classes have restrictions on upper bounds for it's underlying value. This might cause the
*
operator to throw. This method wraps it in aTry
block.- Definition Classes
- BasicArithmetic
- def multiplySafe(factor: BigInt): Try[Int32]
Some classes have restrictions on upper bounds for it's underlying value.
Some classes have restrictions on upper bounds for it's underlying value. This might cause the
*
operator to throw. This method wraps it in aTry
block.- Definition Classes
- BasicArithmetic
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def subtractSafe(n: Int32): Try[Int32]
Some classes have restrictions on lower bounds for it's underlying value.
Some classes have restrictions on lower bounds for it's underlying value. This might cause the
-
operator to throw. This method wraps it in aTry
block.- Definition Classes
- BasicArithmetic
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBigInt: BigInt
- Definition Classes
- Number
- def toByte: Byte
- Definition Classes
- Number
- def toInt: Int
- Definition Classes
- Number
- def toLong: Long
- Definition Classes
- Number
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toUInt32: UInt32
- def truncatedBytes: ByteVector
- Definition Classes
- Number
- def unary_-: Int32
- Definition Classes
- Number
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def xor(num: Long): Int32
- Definition Classes
- Number
- def xor(num: Int32): Int32
- Definition Classes
- Number
- def |(num: Int32): Int32
- Definition Classes
- Number