Jump to content
spudw2k

Working with binary data

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.


Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...