Binary file
Binary file refers to a type of computer file that is not a text file. The term "binary file" is often used as a term meaning "non-text file". Many binary file formats contain parts that can be interpreted as text; for example, some computer document files containing formatted text, such as older Microsoft Word document files, contain the text of the document but also contain formatting information in binary form.
Structure of Binary Files[edit | edit source]
Binary files typically contain bytes that are intended to be interpreted as something other than text characters. Compiled computer programs are typical; indeed, compiled applications (ones where the original source code has been converted into machine language) are sometimes referred to as binaries. But binary files can also mean that they contain images, sounds, compressed versions of other files, etc. — in short, they can contain data in any form.
The byte order is either Motorola or Intel depending on the first word. if it is MM, then you have Motorola byte ordering and likewise if it is II then you have Intel byte ordering.
Binary File Formats[edit | edit source]
Binary file formats may include multiple types of data in the same file, such as image, video, and audio data. This data can be interpreted by a program which will then display the image, play the video, or play the audio. Other examples of binary file formats include .doc files, .pdf files, and .exe files.
Binary File and Text File[edit | edit source]
The distinction between binary and text files is a simplification. Text is a subset of binary, in the sense that a text file is a binary file that happens to contain only printable characters. But many binary files contain structure that allows them to hold more complex arrangements of information.
See Also[edit | edit source]
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD