class VarInt::LEB128::NonRedundant

Defined in:

varint/leb128/non_redundant.cr

Class Method Summary

Class methods inherited from class VarInt::LEB128

decode_unsigned_bigint(io : IO) decode_unsigned_bigint, decode_unsigned_int(bytes : Bytes) : Tuple(UInt64, UInt32)
decode_unsigned_int(io : IO) : Tuple(UInt64, UInt32)
decode_unsigned_int
, do_encode_unsigned(i : UInt | BigInt, &) do_encode_unsigned, encode(i : UInt, io : IO)
encode(i : UInt)
encode(i : SInt) : Array(UInt8)
encode(f : Float64) : Array(UInt8)
encode
, encode_float64(f : Float64) : Array(UInt8) encode_float64, encode_signed(i : SInt | BigInt) : Array(UInt8) encode_signed, encode_unsigned(i : UInt | BigInt, io : IO)
encode_unsigned(i : UInt | BigInt) : Array(UInt8)
encode_unsigned
, float64_to_vfloat(f : Float64) float64_to_vfloat

Class Method Detail

def self.decode_unsigned_bigint(io : IO) #

[View source]
def self.decode_unsigned_UInt64(bytes : Bytes) #

[View source]
def self.decode_unsigned_UInt64(io : IO) #

[View source]
def self.do_encode_unsigned(i, &) #

[View source]
def self.encode_signed(i : Int64 | Int32 | Int16 | Int8 | BigInt) : Array(UInt8) #

[View source]
def self.encode_unsigned(i, io : IO) #

[View source]
def self.encode_unsigned(i) #

[View source]