Crate fast_hamming

Source

Enums§

FastHammingError

Functions§

decode_block
Decodes a 16-byte array which has been coded with a Hamming-Code and has its ECC byte appended and tries to decode it. If successful, returns a 15-byte array with the original data.
encode_block
Finds the Hamming-Code for a 15-byte input array and returns a 16-byte array with the rendundancy byte appended to the input array