如何合并2个二进制文件? [英] How can I merge 2 binary files?

查看:348
本文介绍了如何合并2个二进制文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

正如您在主题标题上看到的..我的问题是,如何使用Java将2个二进制文件合并为1个?是否有类似命令的内容,还是我必须自己编写一些代码?


问候epanjohura

Hey guys

as you can see on the title of subject.. my question is, how do I merge 2 binary files into one with java? Is there something like a command or do I have to write some code by my own?


Greetings epanjohura

推荐答案

它们是哪种文件,如何合并?如果您只想将一个附加到另一个,则可以使用简单的文件读写 [< ^ ].如果您想要更复杂的东西,则需要指定更多细节.
What sort of files are they and how are they to be merged? If you just want to append one to the other then you can use simple file read and write[^]. If you want something more sophisticated then you will need to specify in more detail.


这篇关于如何合并2个二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆