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