Function read_version

Source
pub fn read_version<R>(stream: R) -> Result<u16, Error>
where R: Read,
Expand description

Read protocol version from a stream