pub fn parse( buffer: &mut Vec<u8>, ) -> Result<Option<(Frame, usize)>, Box<dyn Error>>
Attempts to parse the first STOMP frame in a byte buffer.