Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

binary files - differences in lengths - please help

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
I guess somebody must have encountered this problem. Iam making two successive calls to the getFilePointer()
and getLength() methods before closing a random access file. Iam getting two different numbers for these calls.
getFilePointer returns - 1622
getLength returns - 1620
How can the length be less than the current offset?
 
Ben Nichols
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not a problem you should be experiencing.
If it is a problem that you are experiencing with your Fly By Night assignment, then your assignment differs from mine, or you have gone way too deep.
Ben
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic