read_fonts::tables::glyf::bytecode

Function decode_all

Source
pub fn decode_all(
    bytecode: &[u8],
    pc: usize,
) -> impl Iterator<Item = Result<Instruction<'_>, DecodeError>> + '_ + Clone
Expand description

Returns an iterator that yields all instructions in the given bytecode starting at the specified program counter.