Module short

Source
Expand description

Encoding and decoding of the (24, 12, 13) code.

Functionsยง

decode
Try to decode the given 24-hexbit word to the nearest codeword, correcting up to 6 hexbit errors (up to 36 bit errors.)
encode
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.