Struct p25::data::crc::CRC16Params
[−]
[src]
pub struct CRC16Params;
Params for 16-bit CRC.
Trait Implementations
impl CRCParams for CRC16Params
[src]
fn gen() -> u64
[src]
Generator polynomial, with the MSB being the coefficient of highest degree.
fn inv() -> u64
[src]
Inversion polynomial, with the MSB being the coefficient of highest degree.
fn shift() -> usize
[src]
Amount to left-shift the message (multiply by xi) before division.
fn validate()
[src]
Verify the parameters are well-formed.