Skip to main content

extract_length

Function extract_length 

Source
pub fn extract_length(buffer: &[u8]) -> Option<(usize, usize)>
Expand description

Returns Option<(pos, len)> if it can find the length in the fix message otherwise returns None.