• Post Reply Bookmark Topic Watch Topic
  • New Topic

Binary File Read  RSS feed

 
Farouk Mohamed1
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Before I understand the assignment better and start to make assumptions.I would be happy if someone could help me understand how to read a binary File. I have a file db.db with some actual data which is easy to read and the implementation
provided. But it contains certail meta data items as well
If you can please tell me how to read the binary files and look at the actual data it would be much appreciated.
Things like
1. MAGIC
2. LIVE_RECORD
3. DELETED_RECORD
where these values come from i think they are present in the first byte of the file
Please help me i am trying to understand things better so that i can decide about record number as well
Faoruk
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!