[−][src]Trait bp7::crc::CrcBlock
Required methods
Loading content...Provided methods
fn has_crc(&self) -> bool
Convert block struct to a serializable enum
fn update_crc(&mut self)
Recalculate crc value
fn check_crc(&mut self) -> bool
Check if crc value is valid
fn reset_crc(&mut self)
Reset crc field to an empty value
fn crc(&self) -> Option<&[u8]>
Returns raw crc checksum
fn set_crc_type(&mut self, crc_value: CrcRawType)
Set crc type CRC_NO, CRC_16, CRC_32
fn crc_type(&self) -> CrcRawType
Return the crc type code