class VarInt::LEB128
- VarInt::LEB128
- Reference
- Object
Direct Known Subclasses
Defined in:
varint/leb128.crClass Method Summary
- .decode_unsigned_bigint(io : IO)
- .decode_unsigned_int(bytes : Bytes) : Tuple(UInt64, UInt32)
- .decode_unsigned_int(io : IO) : Tuple(UInt64, UInt32)
-
.do_encode_unsigned(i : UInt | BigInt, &)
Unsigned integers
- .encode(i : UInt, io : IO)
- .encode(i : UInt)
-
.encode(i : SInt) : Array(UInt8)
Signed integers
- .encode(f : Float64) : Array(UInt8)
- .encode_float64(f : Float64) : Array(UInt8)
- .encode_signed(i : SInt | BigInt) : Array(UInt8)
- .encode_unsigned(i : UInt | BigInt, io : IO)
- .encode_unsigned(i : UInt | BigInt) : Array(UInt8)
- .float64_to_vfloat(f : Float64)