Function mm0b_parser::try_next_cmd[][src]

pub fn try_next_cmd(
    mmb: &[u8],
    start_at: usize
) -> Result<Option<(u8, u32, usize)>, ParseError>

Return the raw command data (a pair [(u8, u32)]) while ensuring that an iterator which is literally empty has terminated at the correct location, where the correct location is signalled by the presence of a 0 command.