moving the index to different location of binary file
i have a map file which has several tile images in the form of binary data. now i have to jump my index to different location of the file and read that ti开发者_JAVA百科le. but i could not find anything helpful for me i also checked mark() and skip() methods.but not helping me.
is there any method or class which can do what exactly i want or any hint you want to give me
thanks alot
RandomAccessFile may be helpful to you. Here is how to use them.
Random access files permit nonsequential, or random, access to a file's contents. To access a file randomly, you open the file, seek a particular location, and read from or write to that file.
精彩评论