Expand description

Encoding and decoding of the (24, 16, 9) code.

Functions

Try to decode the given 24-hexbit word to the nearest codeword, correcting up to 4 hexbit errors (up to 24 bit errors.)

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.