Function zaino_fetch::chain::utils::skip_bytes

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

Skips the next n bytes in cursor, returns error message given if eof is reached.