Skip to main content

read_bool

Function read_bool 

Source
pub fn read_bool(buf: &mut Bytes) -> Result<bool>
Expand description

Read a boolean (1 byte: 0 = false, nonzero = true).