[−][src]Function grin_p2p::msg::read_body
pub fn read_body<T: Readable, R: Read>(
h: &MsgHeader,
stream: &mut R,
version: ProtocolVersion
) -> Result<T, Error>
Read a message body from the provided stream, always blocking until we have a result (or timeout).