Skip to main content

split_messages

Function split_messages 

Source
pub fn split_messages(buffer: &mut Vec<u8>) -> Vec<Vec<u8>>
Expand description

Split what has been read into whole messages, keeping the unfinished tail.