首先用二进制方式打开 vim file -b 之后输入 :%!xxd 还原为二进制文件 :%!xxd -r 转载于:https://www.cnblogs.com/wardensky/p/4808367.html