Skip to main content

serialize_ops

Function serialize_ops 

Source
pub fn serialize_ops(ops: &[Op]) -> Vec<u8> 
Expand description

Serializes a sequence of content operators: operands space-separated, one space before each operator keyword, a newline after it. Inline-image dictionaries are written with their canonical (unabbreviated) keys, which the parser passes through unchanged. Infallible: a stream inside a DP/BDC properties value — impossible in parser-produced ops — is emitted as null.