Function root_io::core::parsers::class_name_and_buffer
[−]
[src]
pub fn class_name_and_buffer<'s, 'c>(
input: &'s [u8],
context: &'c Context
) -> IResult<&'s [u8], (String, &'c [u8])> where
's: 'c,
Figure out the class we are looking at. This parser immediately
resolves possible references returning the name of the object in
this buffer and the associated data. This function needs a
Context, though, which may not be avialable. If so, have a look
at the classinfo parser.