In digital telecommunications, channel coding is a pre-transmission mapping applied to a digital signal or data file, usually designed to make error-correction (or at least error detection) possible.
Error correction is implemented by using more digits (bits in case of a binary channel) than the number strictly necessary for the samples, and having the receiver compute the most likely valid message that could have resulted in the received one.