Module decoder

Source

Enumsยง

VariantBasicType
VariantPrimitiveType

Functionsยง

decode_binary ๐Ÿ”’
Decodes a Binary from the value section of a variant.
decode_date ๐Ÿ”’
Decodes a Date from the value section of a variant.
decode_decimal4 ๐Ÿ”’
Decodes a Decimal4 from the value section of a variant.
decode_decimal8 ๐Ÿ”’
Decodes a Decimal8 from the value section of a variant.
decode_decimal16 ๐Ÿ”’
Decodes a Decimal16 from the value section of a variant.
decode_double ๐Ÿ”’
Decodes a Double from the value section of a variant.
decode_float ๐Ÿ”’
Decodes a Float from the value section of a variant.
decode_int8 ๐Ÿ”’
Decodes an Int8 from the value section of a variant.
decode_int16 ๐Ÿ”’
Decodes an Int16 from the value section of a variant.
decode_int32 ๐Ÿ”’
Decodes an Int32 from the value section of a variant.
decode_int64 ๐Ÿ”’
Decodes an Int64 from the value section of a variant.
decode_long_string ๐Ÿ”’
Decodes a long string from the value section of a variant.
decode_short_string ๐Ÿ”’
Decodes a short string from the value section of a variant.
decode_timestamp_micros ๐Ÿ”’
Decodes a TimestampMicros from the value section of a variant.
decode_timestampntz_micros ๐Ÿ”’
Decodes a TimestampNtzMicros from the value section of a variant.
get_basic_type ๐Ÿ”’
Extracts the basic type from a header byte
get_primitive_type ๐Ÿ”’
Extract the primitive type from a Variant value-metadata byte
map_try_from_slice_error ๐Ÿ”’
To be used in map_err when unpacking an integer from a slice of bytes.