read_bool

Function read_bool 

Source
pub async fn read_bool<R: AsyncReadExt + Unpin>(r: &mut R) -> Result<bool>
Expand description

Read a boolean from the stream, encoded as u64 (>0 is true).