UVarInt
Inherits Struct < Value < Object
Constructors
new(int : Int::Unsigned)
Sourcenew(int : BigInt)
Sourcenew(bytes : Bytes)
Sourcenew(en : Enumerable(UInt8))
Sourcenew(str : String)
SourceClass methods
parse(str : String)
Sourceread(str : String)
Sourceread(io : IO)
Sourceread(iter : Iterator(UInt8))
SourceInstance methods
for the following operators, define a method that performs that mathematical operation on both operands' int values, and returns a new UVarInt with the new value
<(other : UVarInt)
for the following operators, define a method that performs the logical operation on both operands' int values, and returns a boolean value
bytes
Sourcehexstring
Sourceto_big_i
Sourceto_i
for the following name-type pairs, define a method that is mapped to the method of the same name on the internal BigInt value Returns self converted to Int32.
to_s(base : Int32)
SourceMacros
[](*args)
Source