Skip to main content

one_object

Function one_object 

Source
pub fn one_object(
    class_id: i32,
    nodes: Vec<NodeSpec>,
    data: Vec<u8>,
) -> SerializedSpec
Expand description

A minimal file of one object whose class has the tree nodes: data is the object’s bytes, class_id its class. Every other field as SerializedSpec::default has it (format 22, little-endian, type trees on).