UVarInt

Unsigned varint datatype, MAX_VALUE=ULong.MAX_VALUE

Constructors

Link copied to clipboard
constructor(number: UInt)

Convenience constructor to create an object from an unsigned int. To create larger UVarInts, use fromByteArray.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

encodes this number's value into a ByteArray using varint encoding

Link copied to clipboard
fun toULong(): ULong

returns the ULong value of this UVarInt