Results 1 to 2 of 2
- 11-04-2011, 09:30 AM #1
Member
- Join Date
- Nov 2010
- Posts
- 54
- Rep Power
- 0
Modifying a few bytes in a large file - stupid question.
Hi All
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?
Regards----Signature ----
Please use [CODE] tags and indent correctly. It really helps when reading your code.
- 11-04-2011, 09:36 AM #2
Member
- Join Date
- Nov 2010
- Posts
- 54
- Rep Power
- 0
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.----Signature ----
Please use [CODE] tags and indent correctly. It really helps when reading your code.
Similar Threads
-
simple question feel stupid asking...
By IYIaster in forum New To JavaReplies: 3Last Post: 10-02-2009, 05:04 PM -
Modifying text file
By right2001 in forum New To JavaReplies: 7Last Post: 04-13-2009, 08:41 AM -
Modifying text file
By right2001 in forum New To JavaReplies: 7Last Post: 04-08-2009, 01:18 AM -
a really stupid question
By SwinGirl in forum NetBeansReplies: 10Last Post: 06-25-2008, 09:06 PM -
Quick Stupid Question
By bluekswing in forum New To JavaReplies: 7Last Post: 01-08-2008, 06:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks