Function root_io::core::parsers::class_name_and_buffer[][src]

pub fn class_name_and_buffer<'s, E>(
    i: &'s [u8],
    context: &'s Context
) -> IResult<&'s [u8], (&'s str, &'s [u8]), E> where
    E: ParseError<&'s [u8]> + Debug

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 available. If so, have a look at the classinfo parser.