Function zaino_fetch::chain::utils::read_bool
source ยท pub fn read_bool(
cursor: &mut Cursor<&[u8]>,
error_msg: &str,
) -> Result<bool, ParseError>
Expand description
Reads the next byte from cursor into a bool, returns error message given if eof is reached..