fef 0.2.3

Rust implementation of a parser of the FEF format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::io::Read;

pub(crate) fn skip_bytes<R: ?Sized + Read>(
    reader: &mut R,
    count: usize,
) -> Result<(), std::io::Error> {
    let mut buffer = [0; 1];
    for _ in 0..count {
        reader.read_exact(&mut buffer)?;
    }
    Ok(())
}