Module core

Source

Constants§

TAG_ARRAY_VEC_SET_BASE
< Enum with tuple fields
TAG_ARRAY_VEC_SET_LONG
< Short array/vec/set (length in tag) - includes HashSet, BTreeSet, IndexSet, FxHashSet, AHashSet
TAG_BINARY
< Long string (length encoded) - String, SmolStr
TAG_CHRONO_DATETIME
< Map (HashMap, BTreeMap, IndexMap, FxHashMap, AHashMap)
TAG_CHRONO_NAIVE_DATE
< chrono::DateTime
TAG_CHRONO_NAIVE_TIME
< chrono::NaiveDate
TAG_DECIMAL
< chrono::NaiveTime
TAG_ENUM
< Tuple struct
TAG_ENUM_NAMED
< C-like enum (unit variants)
TAG_ENUM_UNNAMED
< Enum with named fields
TAG_F32
< Negative signed integer (bit-inverted encoding)
TAG_F64
< f32
TAG_JSON_ARRAY
TAG_JSON_BOOL
TAG_JSON_NULL
< uuid::Uuid, ulid::Ulid
TAG_JSON_NUMBER
TAG_JSON_OBJECT
TAG_JSON_STRING
TAG_MAP
< Tuple
TAG_NEGATIVE
< u128
TAG_NONE
Type tags used in the senax binary format.
TAG_ONE
< 0 for numbers, false for bool
TAG_SOME
< Option::None
TAG_STRING_BASE
< f64
TAG_STRING_LONG
< Short string (length in tag) - String, SmolStr
TAG_STRUCT_NAMED
< Unit struct
TAG_STRUCT_UNIT
< Vec or Bytes
TAG_STRUCT_UNNAMED
< Named struct
TAG_TUPLE
< Long array/vec/set (length encoded) - includes HashSet, BTreeSet, IndexSet, FxHashSet, AHashSet
TAG_U8
TAG_U8_2_BASE
< 1 for numbers, true for bool
TAG_U8_127
TAG_U16
< u8 (full range)
TAG_U32
< u16
TAG_U64
< u32
TAG_U128
< u64
TAG_UUID
< rust_decimal::Decimal
TAG_ZERO
< Option::Some

Functions§

read_field_id_optimized
Reads a field ID using optimized encoding.
read_u32_le
Reads a u32 in little-endian format without a tag.
read_u64_le
Reads a u64 in little-endian format without a tag.
skip_value
Skips a value of any type in the senax binary format.
write_field_id_optimized
Writes a u64 in little-endian format without a tag.
write_u32_le
Writes a u32 in little-endian format without a tag.
write_u64_le
Writes a u64 in little-endian format without a tag.