• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RandomFile seek method

 
Claude Rouleau
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am revisiting RandomAccessFile and found that the argument for the seek method is a long (64 bytes integer). The documentation says that it is the offset position, measured in bytes from the beginning of the file.
Since there is no way to specify another starting point I concluded that the maximum lenght of a Random file is (2 power 63) -1.
Do I am right?
Claude
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic