Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Binary File Read

 
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
 
Grow your own food... or this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic