Compute the Hamming parity bits r from data bits m using 2^r >= m + r + 1 for single-bit error correction.
汉明码可检测并纠正单比特错误。