| |
| | Ascii vs. Binary Files |
 | | If you look up an ASCII table, you will discover the ASCII code for 0x63, 0x61, 0x74 (the 0x merely indicates the values are in hexadecimal, instead of decimal/base 10). |
 | | Thus, the ASCII file might contain 8 bytes (6 for the characters, 2 for the spaces), and the output binary file would contain 3 bytes, one byte per hex pair. |
 | | ASCII is convenient, because it tends to be human-readable, but it can use up a lot of space. |
| www.cs.umd.edu /class/spring2003/cmsc311/Notes/BitOp/asciiBin.html (1862 words) |
|