2月27日什么星座| 有什么好看的三级片| 煞北是什么意思| npv是什么| 肚子疼应该吃什么药| 小孩打嗝是什么原因| 生不如死是什么生肖| 古代地龙是什么| 四大天王是什么生肖| est是什么意思| 床单什么颜色有助于睡眠| lz什么意思| 脂肪肝有什么症状| 西安有什么区| 扦脚是什么意思| 苦荞茶喝了有什么好处| dw手表属于什么档次| 嘴巴很臭是什么原因引起的| 吃维生素c有什么好处| 女性盆腔炎什么症状| 土界读什么| 骨盐量偏低代表什么| 养生馆起什么名字好| 马革裹尸什么意思| 抠是什么意思| 梦见坟墓是什么预兆| 什么水果是热性的| 眉毛淡的男人代表什么| 市宣传部长是什么级别| 掉头发吃什么药最有效| 一鸣惊人指什么生肖| 小猫不能吃什么| 梦见死去的亲人是什么意思| 演唱会安可是什么意思| 热天不出汗是什么原因| 牛油果是什么季节的水果| 减肥中午吃什么比较好| 儿童身高矮小挂什么科| 古代内衣叫什么| 寒天是什么| 儿童上火了吃什么降火最快| 酸菜鱼一般加什么配菜| 口腔溃疡为什么是白色的| 尿糖2个加号是什么意思| 奶粉罐可以做什么手工| 牙齿疼是什么原因| 本垒打是什么意思| 腌肉放什么调料| 贤侄是什么意思| 柠檬吃多了有什么坏处| 豆包是什么意思| 精满自溢是什么意思| 白羊座男和什么星座最配| 放屁多是什么原因| 眩晕症吃什么好| 黄体中期是什么意思| 马脸是什么脸型| 冰毒是什么| 人体缺甲是什么症状| 孩子流黄鼻涕是什么原因| 梦见钓鱼是什么意思周公解梦| 清纯是什么意思| 枸杞泡水有什么功效| 观音菩萨原名叫什么名| 湿气重吃什么药| 复健是什么意思| 做梦梦到钓鱼是什么意思| 什么人不能吃猪肝| 蚂蚁森林有什么用| 稀松平常是什么意思| 世界上最多笔画的字是什么字| 善存什么时间吃比较好| 戾气太重是什么意思| 为什么要小心吉普赛人| 滑膜炎吃什么药能治好| 2019年属什么生肖| 白带带血丝是什么原因| 常吃大蒜有什么好处| 命根子是什么| 三个代表是什么| 砷是什么东西| 天空蓝是什么颜色| 老年人头晕是什么原因| 燕窝有什么功能| 壬午五行属什么| 欲言又止下一句是什么| 紫色睡莲的花语是什么| 皮脂腺囊肿挂什么科| 超声介入是什么意思| 首套房有什么优惠政策| 什么是大姨妈| 脚后跟干裂用什么药膏| 为什么六月腊月不搬家| 什么烟| 梦到牙齿掉了是什么意思| 突然流鼻血是什么原因| viki什么意思| 睡不着觉挂什么科| 飞机打多了会有什么严重的后果吗| 什么可以代替人体润滑油| 气短是什么意思| 打擦边球是什么意思| 风花雪月是什么生肖| 经期喝咖啡有什么影响| 乳岩是什么病| 西晋之后是什么朝代| 文武双全是什么生肖| 嗓子哑吃什么药| 饺子什么馅儿最好吃| 钮祜禄氏是什么旗| 爱马仕是什么牌子| 遗精频繁是什么原因| 尿急尿频吃什么药| 胃病四联疗法是什么药| 减肥用什么好| 九秩是什么意思| 什么因什么果| 后脑勺麻木是什么征兆| 龙骨是什么东西| 阳光灿烂是什么意思| 谣言是什么意思| 唇色深的人适合什么颜色的口红| 对酒当歌是什么生肖| 美容美体是干什么的| 云南属于什么地区| 国防部部长是什么级别| 减肥期间晚上可以吃什么| 眼痒用什么眼药水| 肾五行属什么| 十二指肠霜斑样溃疡是什么意思| simon是什么意思| 打乙肝疫苗挂什么科| 六月是什么夏| 腰间盘突出睡觉什么姿势好| tct什么意思| 你什么意思| 一什么睡莲| 壁报交流是什么意思| 入肉是什么意思| 福寿延绵是什么意思| 患难见真情是什么意思| oder是什么意思| 两个水念什么| 什么颜色加什么颜色等于绿色| 缅铃是什么| 7月6日是什么节日| 失眠吃什么好| 阴道镜活检是什么意思| 巨蟹跟什么星座最配| 脚气吃什么维生素| 墨迹是什么意思| 凤凰男什么意思| 讲义气是什么意思| 什么水果上火| 毕业答辩是什么| 易经和周易有什么区别| 看望病人送什么东西| 胖头鱼又叫什么鱼| 胸闷出汗是什么原因| 乳腺小叶增生是什么意思| 囚徒是什么意思| 胡塞武装是什么| 法令纹上的痣代表什么| 海肠是什么东西| 做宫腔镜检查需要提前做什么准备| 排尿带血是什么原因| 梦到砍树是什么意思| 谷丙转氨酶偏高是什么原因| 钡餐是什么| 处子之身是什么意思| 性冷淡吃什么药| 儿童吃什么| 梦到自己头发白了是什么意思| 长沙为什么叫星城| 什么时候可以领退休金| 湿疹有什么特效药| 前列腺增生伴钙化是什么意思| 阴道没水什么原因| 姨妈期可以做什么运动| 老年人适合吃什么水果| 股藓要用什么药膏效果最好| 专家是什么意思| 孕妇羊水多是什么原因造成的| 为什么喝完酒头疼| 不排卵是什么原因| 凝血功能是什么意思| 子宫肌瘤是什么原因造成的| 易蒙停是什么药| 脚后跟疼用什么药最好| 什么地方看到的月亮最大| 来姨妈下面疼是为什么| 熊掌有什么功效与作用| 扦脚是什么意思| 四面受敌是什么动物| 护资成绩什么时候出| 低度鳞状上皮内病变是什么意思| 伤口化脓用什么药| 猪血炒什么好吃| 双休什么意思| 灰飞烟灭是什么意思| 脊柱炎吃什么药| p.a.是什么意思| 嘴唇肿起来一般是什么原因引起的| 什么叫县级以上的医院| 为什么射出的精子里有淡红色| 大基数是什么意思| 伟哥是什么药| cue什么意思| 肝内结节是什么意思啊| 脂溢性脱发用什么药| 女人吃葛根粉有什么好处| aj和nike什么关系| 一直打嗝是什么原因引起的| 三岁打什么疫苗| 肌筋膜炎吃什么药| 宿命是什么意思| 老年痴呆症是什么原因引起的| 媛是什么意思| 麦五行属什么| 游龙斑是什么鱼| 为什么老打哈欠| 肺心病是什么病| 性功能下降吃什么药| 伪骨科是什么意思| 青少年额头长痘痘是什么原因| 肝囊肿有什么危害| 1999年是什么命| 脑病科是看什么病的| 什么是凌汛| mc什么意思| 眼底检查主要查什么| 无济于事的济是什么意思| 双眸是什么意思| 做梦梦到狮子是什么意思| 备孕吃什么好| hmo是什么| minute什么意思| 险资举牌什么意思| 什么叫浮小麦| 四维彩超主要检查什么| 引狼入室是什么意思| 鸡肠炎用什么药效果好| 为什么会牙龈出血| 双胞胎是什么意思| 男朋友过生日送什么礼物最有意义| 睡美人最怕什么脑筋急转弯| 膝盖积水是什么原因造成的| 胃寒吃什么可以暖胃| 肌红蛋白高说明什么| 切除子宫对身体有什么伤害| 多吃菠萝有什么好处| 心乱如什么| 手指关节痛吃什么药好| 第六感是什么| 肚子不舒服挂什么科| 维生素c是什么| 腿浮肿是什么原因引起的| 十二指肠霜斑样溃疡是什么意思| 常山现在叫什么| 土崩瓦解是什么意思| reald厅什么意思| 大姨妈来了喝红糖水有什么功效| 左侧卵巢囊肿是什么原因引起的| 鼻子下面长痘什么原因| 百度Jump to content

外媒:天文学家捕捉到特斯拉跑车太空漫游场景

From Wikipedia, the free encyclopedia
A hex dump of the 318 byte Wikipedia favicon, or . The first column numerates the line's starting address, while the * indicates repetition.
百度   通知强调,进一步强化高校考试招生信息安全,切实提高防篡改、防窃取、防瘫痪、防病毒、防攻击能力。

A binary file is a computer file that is not a text file.[1] The term "binary file" is often used as a term meaning "non-text file".[2] 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.[2]

Background and terminology

[edit]

All modern computers store information in the form of bits (binary digits), using binary code. For this reason, all data stored on a computer is, in some sense, "binary". However, one particularly useful and ubiquitous type of data stored on a computer is one in which the bits represent text, by way of a character encoding. Those files are called "text files" and files which are not like that are referred to as "binary files", as a sort of retronym or hypernym.

Some "text files" contain portions that are actually binary data, and many "binary files" contain portions that are encoded text; for instance, textual data may be stored as a field within the binary format, or arbitrary constants may have been chosen to correspond to ASCII letters as a mnemonic (this is common for file magic numbers). These mixed binary-and-text file are usually regarded as "binary", because an application that can only process text will not know what to do with them.

It is quite common for a text file to use its text to encode data that could be encoded in binary some other way; a text file that does this is still regarded as a text file, and not a binary file, so long as it remains within the previously-stated constraints about what the bits of the file represent. For example, in a binary file, the number 250 could be encoded in bits as the sequence 11111010. It could also be encoded in a text file (for example, a programming language source file) as the digits 2, 5, 0; which would in turn be encoded by the bits in the text file as (for example, using UTF-8) 00110010, 00110101, 00110000.

Structure

[edit]

Binary files are usually thought of as being a sequence of bytes, which means the binary digits (bits) are grouped in eights. Binary files typically contain bytes that are intended to be interpreted as something other than text characters. 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.[1]

Some binary files contain headers, blocks of metadata used by a computer program to interpret the data in the file. The header often contains a 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 GIF87a or GIF89a 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 website certificates) may also be stored with the binary information encoded in printable characters.

Manipulation

[edit]

To send binary files through certain systems (such as email) that do not allow all data values, they are often translated into a plain text representation (using, for example, Base64). Encoding the data has the disadvantage of increasing the file size during the transfer (for example, using Base64 will increase the file's size by approximately 30%), as well as requiring translation back into binary after receipt. The increased size may be countered by lower-level link compression, as the resulting text data will have about as much less entropy as it has increased size, so the actual data transferred in this scenario would likely be very close to the size of the original binary data. See Binary-to-text encoding for more on this subject.

Microsoft Windows and its standard libraries for the C and C++ programming languages allow the programmer to specify a parameter indicating if a file is expected to be plain text or binary when opening a file; this affects the standard library calls to read and write from the file in that the system converts between the C/C++ "end of line" character (the ASCII linefeed character) and the end-of-line sequence Windows expects in files (the ASCII carriage return and linefeed characters in sequence). In Unix-like systems, the C and C++ standard libraries on those systems also allow the programmer to specify whether a file is expected to be text or binary, but the libraries can and do ignore that parameter, as the end-of-line sequence in Unix-like systems is just the C/C++ end-of-line character.

Viewing

[edit]

A hex editor or viewer may be used to view file data as a sequence of hexadecimal (or decimal, binary or ASCII character) values for corresponding bytes of a binary file.[2]

If a binary file is opened in a text editor, each group of eight bits will typically be translated as a single character, and the user will see a (probably unintelligible) display of textual characters. If the file is opened in some other application, that application will have its own use for each byte: maybe the application will treat each byte as a number and output a stream of numbers between 0 and 255—or maybe interpret the numbers in the bytes as colors and display the corresponding picture. Other type of viewers (called 'word extractors') simply replace the unprintable characters with spaces revealing only the human-readable text. This type of view is useful for a quick inspection of a binary file in order to find passwords in games, find hidden text in non-text files and recover corrupted documents.[2] It can even be used to inspect suspicious files (software) for unwanted effects. For example, the user would see any URL/email to which the suspected software may attempt to connect in order to upload unapproved data (to steal). If the file is itself treated as an executable and run, then the operating system will attempt to interpret the file as a series of instructions in its machine language.

Interpretation

[edit]

Standards are very important to binary files. For example, a binary file interpreted by the ASCII character set will result in text being displayed. A custom application can interpret the file differently: a byte may be a sound, or a pixel, or even an entire word. Binary itself is meaningless, until such time as an executed algorithm defines what should be done with each bit, byte, word or block. Thus, just examining the binary and attempting to match it against known formats can lead to the wrong conclusion as to what it actually represents. This fact can be used in steganography, where an algorithm interprets a binary data file differently to reveal hidden content. Without the algorithm, it is impossible to tell that hidden content exists.

Binary compatibility

[edit]

Two files that are binary compatible will have the same sequence of zeros and ones in the data portion of the file. The file header, however, may be different.

The term is used most commonly to state that data files produced by one application are exactly the same as data files produced by another application. For example, some software companies produce applications for Windows and the Macintosh that are binary compatible, which means that a file produced in a Windows environment is interchangeable with a file produced on a Macintosh. This avoids many of the conversion problems caused by importing and exporting data.

One possible binary compatibility issue between different computers is the endianness of the computer. Some computers store the bytes in a file in a different order.[3]

See also

[edit]

References

[edit]
  1. ^ a b "Binary file definition by The Linux Information Project (LINFO)". www.linfo.org. Retrieved 2025-08-06.
  2. ^ a b c d "Ascii vs. Binary Files". www.cs.umd.edu. Retrieved 2025-08-06.
  3. ^ "NCL: Reading binary data". www.ncl.ucar.edu. Archived from the original on 2025-08-06. Retrieved 2025-08-06.
[edit]
  • The dictionary definition of binaries at Wiktionary
土和什么相生 什么最赚钱 什么植物驱蚊效果最好 五七年属什么生肖 一什么青蛙
鼻子痒用什么药好 身体内热是什么原因 什么病不能吃西兰花 2027年属什么生肖 血压正常头晕是什么原因
nautical什么牌子 皇帝菜是什么菜 澳门是什么时候回归的 戴银镯子变黑是什么原因 胆红素高是什么原因引起的
房产证改名字需要什么手续 睡觉张嘴是什么原因 人格分裂什么意思 女人缺少雌激素吃什么 消炎药不能和什么一起吃
猪油蒙了心是什么意思gangsutong.com 埋没是什么意思hcv7jop4ns7r.cn 副县长是什么级别hcv7jop9ns1r.cn 吃什么可以养胃hcv8jop2ns6r.cn 什么能什么力hcv9jop0ns1r.cn
手抖吃什么药马上控制hcv9jop6ns2r.cn 脚底起泡是什么原因hcv8jop6ns2r.cn 夜郎自大是什么意思wuhaiwuya.com 1963属什么生肖hcv9jop1ns2r.cn 青羊药片有什么功效hcv8jop4ns8r.cn
什么叫膳食纤维hcv8jop6ns2r.cn 射精无力吃什么药最佳hcv8jop2ns1r.cn 巨蟹座前面是什么星座xinjiangjialails.com 父亲节做什么礼物好hcv8jop2ns4r.cn 劳改犯是什么意思kuyehao.com
crs是什么意思hcv9jop1ns9r.cn 老年人心慌是什么原因hcv9jop7ns4r.cn 洁面慕斯和洗面奶有什么区别bjcbxg.com 风疹病毒抗体igg阳性是什么意思hcv9jop7ns2r.cn 阴虚火旺有什么症状hcv8jop2ns9r.cn
百度