Function framed::decode_from_reader [] [src]

pub fn decode_from_reader<R: Read>(r: &mut Read) -> Result<BoxPayload>

Reads bytes from the supplied Read until it has a complete encoded frame, then decodes the frame, returning the payload on the heap.