A text file holds characters only, usually in lines, so that a person can read it and any program can parse it; a number in it is a sequence of digit characters. A binary file holds bytes in a format defined by a program, such as the bytes of values copied from memory; it is smaller and faster to read, but meaningless without its format.
0a); its size depends on how many digits the numbers have. In the binary file each number is four bytes, whatever its value, least significant byte first.