vim -b <file>
# In vim ex mode
# binary => hex
:%!xxd
# hex => binary
:%!xxd -rxxd 命令
make a hexdump or do the reverse.
man ascii
用来查看 ascii 码
vim -b <file>
# In vim ex mode
# binary => hex
:%!xxd
# hex => binary
:%!xxd -rmake a hexdump or do the reverse.
用来查看 ascii 码