Modifying a few bytes in a large file - stupid question.
This seems a bit of a silly question, but this is something I've never had to do before.
I'm looking for a way to modify a few bytes (< 10). Spread out across a large file (>200MB).
Is there any simple way to do this without pumping a FileInputStream to a FileOutputStream and modifying the apropriate bytes as they come through?
Re: Modifying a few bytes in a large file - stupid question.
Ah. Just answered my own question. never mind.
MappedByteBuffer and FileChannel.
Thanks for reading anyway.