开发者

Android Write files

I write file to sdcard using BufferedWriter.After that I want to overwrite header of file,but other data must be without changes( In the header I must add size of file). So I think I must change positio开发者_Go百科n where I need write.

How can I do that?What function should I use?


You can use a RandomAccessFile to access a file, and modify it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜