Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A prefix code is
a code system, typically a variable-length code, with the "prefix
property": there is no valid code word in the system that is a prefix
(start) of any other valid code word in the set. A code with code words
{9, 59, 55} has the prefix property; a code consisting of {9, 5, 59, 55}
does not, because "5" is a prefix of both "59" and "55". With a prefix
code, a receiver can tell when the end of the word is without a special
marker. Prefix codes are also known as prefix-free codes, prefix
condition codes and instantaneous codes. Although Huffman coding is just
one of many algorithms for deriving prefix codes, prefix codes are also
widely referred to as "Huffman codes", even when the code was not
produced by a Huffman algorithm. The term comma-free code refers to a
more restricted class of codes. Consider the strings of symbols formed
by concatenating two codewords.