Binary file

From WikiMD's Wellness Encyclopedia

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]

Emoji u1f4bb.svg
   This article is a computing stub. You can help WikiMD by expanding it!


WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

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

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. 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