match_megabuf_name

Function match_megabuf_name 

Source
fn match_megabuf_name(bytes: &[u8], pos: usize) -> Option<(&'static str, usize)>
Expand description

Match gmegabuf or megabuf starting at byte offset pos. Returns the matched name slice and the byte just past it, or None if no match.