macos Mac 上有什么好的十六进制编辑器/查看器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/827326/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 06:08:09  来源:igfitidea点击:

What's a good hex editor/viewer for the Mac?

macoshexhex-editors

提问by Mike Akers

What's a good hex editor/viewer for the Mac? I've used xxd for viewing hexdumps, and I think it can be used in reverse to make edits. But what I really want is a real hex editor.

Mac 上有什么好的十六进制编辑器/查看器?我已经使用 xxd 来查看 hexdumps,我认为它可以反向使用来进行编辑。但我真正想要的是一个真正的十六进制编辑器。

回答by Ayman Hourieh

To view the file, run:

要查看文件,请运行:

xxd filename | less

To use Vim as a hex editor:

使用 Vim 作为十六进制编辑器:

  1. Open the file in Vim.
  2. Run :%!xxd(transform buffer to hex)
  3. Edit.
  4. Run :%!xxd -r(reverse transformation)
  5. Save.
  1. 在 Vim 中打开文件。
  2. 运行 :%!xxd(将缓冲区转换为十六进制)
  3. 编辑。
  4. 运行:%!xxd -r(逆变换)
  5. 保存。

回答by crizCraig

  1. Open file with Xcode and press Command + Shift + J
  2. Right click file name in left pane
  3. Open as -> Hex
  1. 使用 Xcode 打开文件并按 Command + Shift + J
  2. 在左窗格中右键单击文件名
  3. 打开为 -> 十六进制

回答by Mike Akers

One recommendation I've gotten is Hex Fiend.

我得到的一项建议是Hex Fiend

回答by pi3

On http://www.synalysis.net/you can get the hex editor I'm developing for the Mac - Synalyze It!. It costs 7 / 40 (Pro version) and offers some extra features like histogram, incremental search, support of many text encodings and interactive definition of a "grammar" for your file format.

http://www.synalysis.net/ 上,您可以获得我正在为 Mac 开发的十六进制编辑器 - Synalyze It!。它的成本为 7 / 40(专业版),并提供一些额外的功能,例如直方图、增量搜索、支持多种文本编码以及文件格式的“语法”的交互式定义。

The grammar helps to interpret the files and colors the hex view for easier analysis.

语法有助于解释文件并为十六进制视图着色以便于分析。

Synalyze It!

合成它!

回答by pgb

I have recently started using 0xED, and like it a lot.

我最近开始使用0xED,并且非常喜欢它。

回答by Pablo Santa Cruz

There are probably better options, but I use and kind of like TextWranglerfor basic hex editing. File -> hex Dump File

可能有更好的选择,但我使用并且有点像TextWrangler进行基本的十六进制编辑。文件 -> 十六进制转储文件

回答by twik

The one that I like is HexEditQuick and easy to use

我喜欢的一个是HexEdit快速且易于使用