Skip to main content

Module tag

Module tag 

Source
Expand description

A value’s first byte: what it is.

Constants§

ALL
Every tag, by its name (what other languages’ readers are generated from).
BYTES
Bytes: a length, then them.
FALSE
false.
FLOAT
A float, an f64 little-endian.
FLOAT32
A float that is an f32 exactly, 4 bytes.
FLOATS
Lists of floats without a tag each.
FLOATS32
Lists of f32s without a tag each.
INT
An integer, zigzag varint.
INTS
A list of ints without a tag each: what a schema of numbers writes its lists as.
LIST
A list: a count, then the values.
MAP
A map: a count, then key and value pairs.
NULL
Null.
REF
A reference: its kind and id strings.
STR
A string: new (its bytes) or the table’s.
STREAM
A list in a body of its own (its own strings): read lazily, cut out whole (crate::Stream).
TRUE
true.