object UInt8 extends Factory[UInt8] with NumberObject[UInt8] with Bounded[UInt8] with NumberCache[UInt8]
- Alphabetic
- By Inheritance
- UInt8
- NumberCache
- Bounded
- NumberObject
- BaseNumbers
- Factory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type A = BigInt
- Definition Classes
- NumberObject
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(bigint: BigInt): UInt8
- def apply(byte: Byte): UInt8
- def apply(short: Short): UInt8
- def apply(hex: String): UInt8
Creates a T from a hex string.
Creates a T from a hex string.
- Definition Classes
- Factory
- def apply(bytes: ByteVector): UInt8
Creates a T out of a sequence of bytes.
Creates a T out of a sequence of bytes.
- Definition Classes
- Factory
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkCached(long: Long): UInt8
Checks if the given number is cached if not, allocates a new object to represent the number
Checks if the given number is cached if not, allocates a new object to represent the number
- Definition Classes
- NumberCache
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- def fromBytes(bytes: ByteVector): UInt8
Creates a T out of a sequence of bytes.
- def fromBytesLE(bytes: ByteVector): UInt8
Creates a T out of a sequence of bytes in little endian.
Creates a T out of a sequence of bytes in little endian.
- Definition Classes
- Factory
- def fromBytesOpt(bytes: ByteVector): Option[UInt8]
Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned
Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned
- Definition Classes
- Factory
- def fromBytesT(bytes: ByteVector): Try[UInt8]
Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure
Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure
- Definition Classes
- Factory
- def fromHex(hex: String): UInt8
Creates a T out of a hex string.
Creates a T out of a hex string.
- Definition Classes
- Factory
- def fromHexLE(hex: String): UInt8
Creates a T out of a hex string in little endian.
Creates a T out of a hex string in little endian.
- Definition Classes
- Factory
- def fromHexOpt(hex: String): Option[UInt8]
Deserializes the given hex string to a T If the hex is not correct, None is returned
Deserializes the given hex string to a T If the hex is not correct, None is returned
- Definition Classes
- Factory
- def fromHexT(hex: String): Try[UInt8]
Deserializes the given hex string if the hex is not correct, we give you a Failure
Deserializes the given hex string if the hex is not correct, we give you a Failure
- Definition Classes
- Factory
- final def fromNativeNumber(long: Long): UInt8
- Definition Classes
- UInt8 → NumberCache
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isInBound(num: A): Boolean
- Definition Classes
- UInt8 → NumberObject
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val max: UInt8
- def maxCached: Long
The max number cached (inclusive)
The max number cached (inclusive)
- Definition Classes
- NumberCache
- lazy val min: UInt8
- def minCached: Long
The minimum number cached (inclusive)
The minimum number cached (inclusive)
- Definition Classes
- NumberCache
- 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()
- lazy val one: UInt8
- Definition Classes
- UInt8 → BaseNumbers
- implicit def self: Factory[UInt8]
Allows a
def foo[C: Factory]()
construction.Allows a
def foo[C: Factory]()
construction.- Definition Classes
- Factory
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toByte(uInt8: UInt8): Byte
- def toBytes(us: Seq[UInt8]): ByteVector
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toUInt8(byte: Byte): UInt8
- def toUInt8s(bytes: ByteVector): Vector[UInt8]
- 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()
- lazy val zero: UInt8
- Definition Classes
- UInt8 → BaseNumbers