Function zaino_fetch::chain::utils::read_u32

source ยท
pub fn read_u32(
    cursor: &mut Cursor<&[u8]>,
    error_msg: &str,
) -> Result<u32, ParseError>
Expand description

Reads the next 4 bytes from cursor into a u32, returns error message given if eof is reached..