unframe

Function unframe 

Source
pub fn unframe(response: Bytes) -> Result<Bytes, ParseError>
Expand description

Extracts the packet’s data by looking at its first byte for its length