python - Bin二进制文件编辑工具及方式?
伊谢尔伦
伊谢尔伦 2017-04-17 13:19:41
0
4
532

Bin二进制文件编辑工具,好像UltraEdit可以查看bin文件,但不知道是否可以直接编辑文件?

另外,有什么C,C++,Python实现方式,可以编辑二进制文件?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(4)
伊谢尔伦

1.UltraEdit can edit binary files
2. For C/C++, you can check fopen() and fwrite()

巴扎黑

It can be edited. There are also tools such as HxD, WinHex.

To implement programming, just use the relevant API to open the file and read and write in binary mode. For example, C++:

ofstream result;
result.open("output.bin", ios::out | ios::binary);
if(result.is_open()){
    //result.put(data);
    result.close();
}
巴扎黑

vim :%!xxd

刘奇

010 editor.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!