Function x11rb_protocol::resource_manager::parser::parse_with_matcher

source ยท
fn parse_with_matcher<M>(data: &[u8], matcher: M) -> (&[u8], &[u8])
where M: Fn(u8) -> bool,
Expand description

Find the longest prefix of the given data where the given callback returns true