[][src]Function message_protocol::decode_message

pub fn decode_message<T: Iterator<Item = Result<u8, Error>>>(
    iter: &mut T
) -> Result<Vec<u8>>

Decodes a binary message, which was encoded on the other side. May return an error if the data is invalid.