Content deleted Content added
m moved Binary-to text-encoding to Binary-to-text encoding |
No edit summary |
||
Line 34:
Some other encodings (base64, uuencoding) are based on mapping all possible sequences of six [[bit]]s into different printable characters. Since there are more than 2<sup>6</sup> = 64 printable characters, this is possible. A given sequence of bytes is translated by viewing it as stream of bits, breaking this stream in chunks of six bits and generating the sequence of corresponding characters. The different encodings differ in the mapping between sequences of bits and characters and in how the resulting text is formatted. Some encodings (the original version of BinHex) use four bits instead of six. This leads to a 50% longer output but simplifies the procedure of encoding, as the byte boundaries in the source data and the character boundaries in the output only line up every second output character instead of every fourth.
[[Category:Binary
[[Category:Computer file formats]]
[[Category:Character encoding]]
|