为什么十六进制编辑器被称为二进制编辑器?

有时名称和术语是非常可互换的,每个人都明白什么是指没有混乱,但有时事情不是那么清楚,留给你更多的问题,而不是答案。今天的超级用户问答有助于澄清困惑读者的事情。...

为什么十六进制编辑器被称为二进制编辑器?

有时名称和术语是非常可互换的,每个人都明白什么是指没有混乱,但有时事情不是那么清楚,留给你更多的问题,而不是答案。今天的超级用户问答有助于澄清困惑读者的事情。

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。

十六进制编辑器屏幕截图由rwxrwx(维基百科)提供。

问题

超级用户读者Joseph A.想知道为什么十六进制编辑器被称为二进制编辑器:

Hex and binary are two different bases. Hex, as I understand it, is simply an “easier to use” version of binary and more convenient. However, I hear quite often that hex editors are binary editors. If you actually search for “binary editors” on Google, you get hex editors. Why is that? What is the connection?

为什么十六进制编辑器被称为二进制编辑器?

答案

超级用户贡献者Steven和BarryTheHatchet为我们提供了答案。首先,史蒂文:

A binary editor edits a binary file. [Binary File – Wikipedia]

  • A binary file is a computer file that is not a text file. […] 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.

A hex editor is a type of binary editor in which binary data is represented in hexadecimal form. [Hex Editor – Wikipedia]

  • A hex editor (or binary file editor or byte editor) is a type of computer program that allows for manipulation of the fundamental binary data that c***titutes a computer file. The name “hex” comes from “hexadecimal”, a standard numerical format for representing binary data.

接着是BarryTheHatchet的回答:

Terminology is hard and different people have all sorts of different names for things.

In this instance, it appears that the “hex” in “hex editor” refers to the conventional human-readable representation of each byte’s value, whereas the “binary” in “binary editor” refers to the notion that you are indeed editing the file at the byte level (computers store bytes in binary) without c***ideration for higher-level text encoding and the like. Recall that files not readily representable in higher-level text form are called “binary files” or “binaries” for the same reason.

Neither is technically incorrect, they just come at the naming problem from different angles. On a personal note, though, I would tend to agree that “binary editor” is confusing overall.


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-09 19:59
  • 阅读 ( 212 )
  • 分类:互联网

你可能感兴趣的文章

您需要了解的关于文件格式及其属性的所有信息

... 因为数据是以文本形式存储的,所以您可以通过在文本编辑器中打开文件来查看文件的内容,即使是像Windows Notepad(或Mac、Linux、iOS和Android的等效工具)这样的简单编辑器。由于几乎所有的计算平台都附带了一个基本的文本编...

  • 发布于 2021-03-14 03:30
  • 阅读 ( 108 )

如何恢复excelvba密码

...道你在做什么,这真的很简单。首先,我们需要下载一个十六进制编辑器。如果你还没有一个,HxD是一个很好的免费选择,但有很多替代品。 ...

  • 发布于 2021-03-14 06:34
  • 阅读 ( 210 )

如何在windows 10上禁用插入键

...为标题,将保持设置为全零。你可以忽略这些。 下一个十六进制数指定值中有多少个重映射加上结尾处的一个空条目,再加上六个零。 接下来的两位数字是我们希望Windows将Insert键重新映射到的键的扫描代码。在本例中,我们...

  • 发布于 2021-04-02 07:34
  • 阅读 ( 345 )

如何在linux中向$path添加目录

.../home目录中使用以下命令编辑.bashrc文件: gedit .bashrc gedit编辑器打开并加载.bashrc文件。 滚动到文件底部,然后添加前面使用的以下导出命令: export PATH=/home/dave/work:$PATH 保存文件。接下来,关闭并重新打开终端窗口,或者使用d...

  • 发布于 2021-04-02 14:04
  • 阅读 ( 188 )

如何在ubuntu上创建桌面快捷方式

...作。但是,你可以花很多时间在圈子里转来转去,想知道为什么你的.desktop文件不能工作。因此,为了更全面,请确保在手动启动应用程序时正确启动和运行应用程序。 桌面文件是一个带有设置的文本文件。就其本身而言,这还...

  • 发布于 2021-04-03 00:02
  • 阅读 ( 263 )

如何在windows启动期间显示消息

...二进制编辑窗口中,消息的每个字母(包括空格)由四个十六进制字符表示。常规文本显示在右侧;十六进制字符显示在左侧。要**回车符,需要单击要**回车符的字符后面十六进制边的空格。你可以试着看一眼这个位置,但你...

  • 发布于 2021-04-08 12:45
  • 阅读 ( 118 )

如何在windows文件资源管理器中删除搜索历史记录

...是在Windows7中进行此操作的唯一方法。 标准警告:注册表编辑器是一个强大的工具,误用它会使您的系统不稳定,甚至无法运行。这是一个相当简单的黑客,只要你坚持的指示,你不应该有任何问题。也就是说,如果您以前从未...

  • 发布于 2021-04-08 17:17
  • 阅读 ( 181 )

linux目录结构,解释如下

...一个SATA驱动器。如果您想对它进行分区,可以启动分区编辑器并告诉它编辑/dev/sda。 此目录还包含虚拟设备,这些虚拟设备实际上并不对应于硬件。例如,/dev/random生成随机数。/dev/null是一种特殊的设备,它不产生任何输出并自...

  • 发布于 2021-04-09 05:03
  • 阅读 ( 102 )

如何在Windows10中为非活动标题栏添加颜色

...桌面背景中显示的非活动窗口的标题栏上使用的颜色输入十六进制颜色代码。你可以从诸如Photoshop或GIMP之类的程序或者从诸如HTML颜色选择器或颜色十六进制颜色代码之类的网站上获得这些。对于我们的示例,我们将使非活动窗...

  • 发布于 2021-04-09 13:40
  • 阅读 ( 180 )

神奇数字:程序员藏在你电脑里的密码

...PU用作32个1和0,但在源代码中,它将以常规十进制格式或十六进制格式写入,后者使用数字0到9以及字母a通过F。 当操作系统或应用程序想要确定文件的类型时,它可以在文件的开头查找表示文件类型的特殊标记。例如,PDF文件...

  • 发布于 2021-04-11 05:00
  • 阅读 ( 125 )
yzmissg2
yzmissg2

0 篇文章

相关推荐