Skip to main content

Module message

Module message 

Source

Functionsยง

emit_message
Emit a complete message struct with Pack and Unpack implementations.
emit_read
Emit code to read a field from r: &mut BitReader<'_>.
emit_write
Emit code to write a field to w: &mut BitWriter.
is_byte_aligned
Returns true if the type is byte-aligned (i.e., not sub-byte).