Module p25::coding::hamming::shortened
[−]
[src]
Encoding and decoding of the (10, 6, 3) code.
Functions
decode |
Try to decode the given 10-bit word to the nearest codeword, correcting up to 1 error. |
encode |
Encode the given 6 data bits into a 10-bit codeword. |