Skip to main content

encode_rules

Function encode_rules 

Source
pub fn encode_rules(rules: &[IrRule]) -> Result<Vec<u8>, CacheError>
Expand description

Encode a slice of lowered rules into a versioned CBOR blob: the header CBOR item followed by the rules CBOR item.