Skip to main content

tokenize_content_stream

Function tokenize_content_stream 

Source
pub fn tokenize_content_stream(data: &[u8]) -> Result<Vec<Operator>, PdfError>
Expand description

Tokenize a content stream into a sequence of operators.

Content streams use a PostScript-like syntax: operands are pushed onto a stack, then an operator keyword consumes them.