Function p25::coding::reed_solomon::short::encode [] [src]

pub fn encode(buf: &mut [Hexbit; 24])

Calculate the 12 parity hexbits for the first 12 data hexbits in the given buffer, placing the parity hexbits at the end of the buffer.