Jump to content

Working with binary data


spudw2k
 Share

Recommended Posts

I could use some suggestions here and/or best practices.

I have a binary file format I am crafting and working with. 

The general structure of the binary format is: [HEADER] [FIELD1MARKER] [DATA] [FIELD2MARKER] [DATA] [FIELD1MARKER] [DATA] [FIELD2MARKER] [DATA].....

I just want some ideas how to handle processing the file.  My hope is to inspect the data from header to EOF, but I am hoping for a more elegant method than using BinaryMid and keeping track of the position.

 

Thoughts and suggestions welcome.  I can throw together pseudo data / code if necessary, but just hoping for some fundamentals.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...