Crates.io | cdrom_crc |
lib.rs | cdrom_crc |
version | 0.1.0 |
source | src |
created_at | 2018-07-02 05:37:35.894467 |
updated_at | 2018-07-02 05:37:35.894467 |
description | Library to generate CD-ROM standard CRCs |
homepage | https://github.com/mistydemeo/cdrom_crc |
repository | https://github.com/mistydemeo/cdrom_crc.git |
max_upload_size | |
id | 72525 |
size | 59,573 |
This crate contains functions to calculate CRCs (cyclic redundancy checks) as used in the CD-DA and CD-ROM standards.
The CD standards use CRCs (cyclic redundancy checks) as a way to allow a player to check for corruption of low-level metadata. Since CDs are a physical medium that can suffer from scratches, dust, and other damage, it's important to be able to know that playback metadata is actually accurate before trying to read it. While most developers will never touch this layer of a disc, developers writing tools which create or modify raw disc images will need to be able to create them.
The CD-DA and CD-ROM standards use two types of CRC functions in different parts of each sector:
This crate currently only provides the 16-bit CRC.