Skip to main content

decode_multipart

Function decode_multipart 

Source
pub fn decode_multipart(buf: &[u8]) -> Result<(Vec<Vec<u8>>, usize)>
Expand description

Decode a multipart message from a buffer of concatenated ZMTP frames.

Returns (parts, total_bytes_consumed).