Binary file



binary file
file format
Any file format for digital data that does not consist of a sequence of printable characters (text). The term is often used for executable machine code.
All digital data, including characters, is actually binary data (unless it uses some (rare) system with more than two discrete levels) but the distinction between binary and text is well established. On modern operating systems a text file is simply a binary file that happens to contain only printable characters, but some older systems distinguish the two file types, requiring programs to handle them differently.
A common class of binary files is programs in machine language (“executable files”) ready to load into memory and execute. Binary files may also be used to store data output by a program, and intended to be read by that or another program but not by humans. Binary files are more efficient for this purpose because the data (e.g. numerical data) does not need to be converted between the binary form used by the CPU and a printable (ASCII) representation. The disadvantage is that it is usually necessary to write special purpose programs to manipulate such files since most general purpose utilities operate on text files. There is also a problem sharing binary numerical data between processors with different endianness.
Some communications protocols handle only text files, e.g. most electronic mail systems before MIME became widespread in about 1995. The FTP utility must be put into “binary” mode in order to copy a binary file since in its default “ascii” mode translates between the different newline characters used on the sending and receiving computers.
Confusingly, some word processor files, and rich text files, are actually binary files because they contain non-printable characters and require special programs to view, edit and print them.
(2005-02-21)

Tagged:

Read Also:

  • Binary large object

    binary large object

  • Binary notation

    noun a number system having a base of two, numbers being expressed by sequences of the digits 0 and 1: used in computing, as 0 and 1 can be represented electrically as off and on Historical Examples Scientific American Supplement, No. 421, January 26, 1884 Various



  • Binary number

    consisting of, indicating, or involving two. Mathematics. of or relating to a system of numerical notation to the base 2, in which each place of a number, expressed as 0 or 1, corresponds to a power of 2. The decimal number 58 appears as 111010 in binary notation, since 58 = 1 × 2 5 […]

  • Binary number system

    binary number system binary number system A method of representing numbers that has 2 as its base and uses only the digits 0 and 1. Each successive digit represents a power of 2. For example, 10011 represents (1 × 24) + (0 × 23) + (0 × 22) + (1 × 21) + (1 × […]



Disclaimer: Binary file definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.