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

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

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