[][src]Function grin_p2p::msg::read_body

pub fn read_body<T: Readable>(
    h: &MsgHeader,
    stream: &mut dyn Read
) -> Result<T, Error>

Read a message body from the provided stream, always blocking until we have a result (or timeout).