pub fn encode(data: u16) -> u32 {
    assert_eq!(data >> 12, 0);

    // Compute wG = w[ I | A ].
    matrix_mul_systematic(data, CORE_XPOSE)
}
/// Encode the given 12 data bits into a 24-bit codeword.
Encode the given 12 data bits into a 24-bit codeword.
Encode the given 12 data bits into a 24 - bit codeword .
pub fn encode(data: u16) -> u32 {
    assert_eq!(data >> 12, 0);
    // Compute wG = w[ I | A ].
    matrix_mul_systematic(data, CORE_XPOSE)
}
pub fn encode ( data : u16 ) -> u32 { assert_eq ! ( data 12 0 ) ; // Compute wG = w[ I | A ]. matrix_mul_systematic ( data , CORE_XPOSE ) }
Encode the given 12 data bits into a 24-bit codeword.
Encode the given 12 data bits into a 24 - bit codeword .
data
u16
data
u16