為什麼十六進位制編輯器被稱為二進位制編輯器?

有時名稱和術語是非常可互換的,每個人都明白什麼是指沒有混亂,但有時事情不是那麼清楚,留給你更多的問題,而不是答案。今天的超級使用者問答有助於澄清困惑讀者的事情。...

為什麼十六進位制編輯器被稱為二進位制編輯器?

有時名稱和術語是非常可互換的,每個人都明白什麼是指沒有混亂,但有時事情不是那麼清楚,留給你更多的問題,而不是答案。今天的超級使用者問答有助於澄清困惑讀者的事情。

今天的問答環節是由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
  • 閱讀 ( 36 )
  • 分類:網際網路

你可能感興趣的文章

8個更棒的chrome應用程式保持離線創意

...型的Chrome應用程式都非常適合你。您可以快速複製和貼上十六進位制程式碼,轉換不同專案的顏色,並測試一噸字型,所有離線。 ...

  • 發佈於 2021-03-13 15:21
  • 閲讀 ( 52 )

您需要了解的關於檔案格式及其屬性的所有資訊

檔案是計算體驗的基本部分之一。但什麼是“檔案”?它是你桌面上的一個圖示,一個以電子表格形式開啟你預算的列表條目,還有一個你可以給你最近的**起的名字。歸根結底,“檔案”是一組位(0和1)的集合,這些位以某...

  • 發佈於 2021-03-14 03:30
  • 閲讀 ( 46 )

如何恢復excelvba密碼

...密碼保護有疑問嗎?或者你有安全提示想和別人分享嗎?為什麼不加入下面評論部分的對話呢? ...

  • 發佈於 2021-03-14 06:34
  • 閲讀 ( 49 )

6款最佳windows記事本

...式在易用性和功能質量上都超過了它。但這些應用程式是什麼?他們擅長什麼?你應該什麼時候用?這裡是記事本的不足之處,加上六個主要的替代品。 ...

  • 發佈於 2021-03-14 11:45
  • 閲讀 ( 65 )

如何在windows上建立自己的字型和字元

... 當你對字型或排版沒什麼關係時,私有字元編輯器就是你可能忽略的那些鮮為人知的Windows特性之一。但正如我們將看到的,當我們需要使用這些小工具來完成一些有成效的任務時,它們會回...

  • 發佈於 2021-03-16 08:38
  • 閲讀 ( 51 )

如何從linux命令列檢視二進位制檔案

...示。如果這樣編譯應用程式,您將失去ASMR的所有優點。 為什麼可執行檔案這麼大? 我們的示例hello程式是17kb,所以它很難被稱為big,但是,一切都是相對的。原始碼為120位元組: cat hello.c 如果它只需要在終端視窗中列印一個...

  • 發佈於 2021-04-02 04:41
  • 閲讀 ( 49 )

如何在windows 10上禁用插入鍵

...很重要。它告訴作業系統如何處理重對映以及按鍵時要做什麼。 前16個零作為標題,將保持設定為全零。你可以忽略這些。 下一個十六進位制數指定值中有多少個重對映加上結尾處的一個空條目,再加上六個零。 接下來的兩...

  • 發佈於 2021-04-02 07:34
  • 閲讀 ( 47 )

如何在linux上使用strings命令

...方案的命令。絃樂司令部肯定屬於那個陣營。它的目的是什麼?是否有指向列出二進位制檔案中可列印字串的命令的點? 讓我們後退一步。諸如程式檔案之類的二進位制檔案可以包含人類可讀文字的字串。但是你怎麼才能看到...

  • 發佈於 2021-04-03 09:27
  • 閲讀 ( 45 )

如何使用linux cat和tac命令

...因為我們的要求,但行是如此之長,它繞了兩圈。這就是為什麼它看起來像終端視窗中的三行輸出。 對文字記錄使用tac tac的最後一個招數是一個美人。 通常,tac對文字檔案的操作方式是從下到上逐行遍歷它們。行是以換行符...

  • 發佈於 2021-04-03 11:26
  • 閲讀 ( 57 )

什麼是二進位制,為什麼計算機使用它?

...樣使用0-9,也使用字母A到F來表示額外的六位數字。 那麼為什麼計算機使用二進位制呢? 簡而言之:硬體和物理定律。計算機中的每一個數字都是一個電訊號,在計算機的早期,電訊號很難精確地測量和控制。只有區分由負電...

  • 發佈於 2021-04-04 09:44
  • 閲讀 ( 42 )
yzmissg2
yzmissg2

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦