pub fn validate(received: &[u8], parity: u8) -> bool
Validates that a received codeword isn’t corrupted.