Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Binary file
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Structure == Binary files are usually thought of as being a sequence of [[byte]]s, which means the binary digits ([[bit]]s) are grouped in eights. Binary files typically contain bytes that are intended to be interpreted as something other than text [[Character (computing)|character]]s. [[Compiled]] computer programs are typical examples; indeed, compiled applications are sometimes referred to, particularly by programmers, as '''binaries'''. But binary files can also mean that they contain images, sounds, compressed versions of other files, etc. β in short, any type of file content whatsoever.<ref name=":0" /> Some binary files contain [[Header (computing)|headers]], blocks of [[metadata]] used by a [[computer program]] to interpret the data in the file. The header often contains a [[List of file signatures|signature or ''magic'' number]] which can identify the format. For example, a [[GIF]] file can contain multiple images, and headers are used to identify and describe each block of image data. The leading bytes of the header would contain text like <code>GIF87a</code> or <code>GIF89a</code> that can identify the binary as a [[GIF]] file. If a binary file does not contain any headers, it may be called a '''flat binary file'''. A text file may consist partly or entirely of encoded binary information. When sending binary files over the network they may be encoded so that they use only printable characters. This is often necessary due to the limitations of network protocols used for internet browsing and e-mail communication. One such encoding is [[Base64]]. Also, files containing public-key and private-key information for use in systems employing [[asymmetric cryptography]] (such as [[Digital certificate|website certificates]]) may also be stored with the binary information encoded in printable characters.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)