0

Hi, I am developing an app with some similarities to a bittorrent client. The problem I am facing is in writing blocks of data to appropriate places within a file since they can arrive out of order. I have looked over the OutputStream classes and cannot see a way to write to an arbitrary point within the output file. Could anyone suggest any classes that might help me with this or anything I have overlooked.

Thanks
E1

1
Contributor
1
Reply
2
Views
10 Years
Discussion Span
Last Post by e1fjl
0

Have just found RandomAccessFile. If anyone wants to add anything feel free though!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.