Skip to main content

write_node

Function write_node 

Source
pub fn write_node(
    w: &mut BitWriter,
    node: &Node,
    key_index_width: u8,
) -> Result<(), Error>
Expand description

Encode a Node to the bit stream.

key_index_width is the bit width used for key-index fields, derived from the descriptor’s path-decl head. Filled in across phases 7-11.