Skip to main content

append_ibm_crc

Function append_ibm_crc 

Source
pub fn append_ibm_crc(addr: [u8; 4], maybe_sync: Option<[u8; 4]>) -> [u8; 6]
Expand description

Calculate the IBM CRC bytes given the sector address and optionally custom sync bytes and IDAM. The full address including CRC is returned.