viral32111_stomp::frame

Function parse

source
pub fn parse(
    buffer: &mut Vec<u8>,
) -> Result<Option<(Frame, usize)>, Box<dyn Error>>
Expand description

Attempts to parse the first STOMP frame in a byte buffer.