dmi 0.5.1

DMI library written in Rust. Provides helpers to manipulate and produce DMI format files.
Documentation
1
2
3
4
5
6
pub(crate) fn calculate_chunk_data_crc(chunk_type: [u8; 4], data: &[u8]) -> u32 {
	let mut hasher = crc32fast::Hasher::new();
	hasher.update(&chunk_type);
	hasher.update(data);
	hasher.finalize()
}