×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Reading Binary file .bin ?

Reading Binary file .bin ?

Reading Binary file .bin ?

(OP)
Does anybody know how to read a binary file *.bin ?

RE: Reading Binary file .bin ?

I'm not sure that there's a particular format for *.bin except that the data is in binary format.  Numeric data has been converted to a machine readable format.  This allows a faster loading of numeric data, etc.  I often save record structures in binary form for speed of loading.  There is no conversion of ASCII information to the data the programs use.

RE: Reading Binary file .bin ?

Do you know what kind of data the file contains? What do you know about the file ?

<nbucska@pcperipherals.com>

RE: Reading Binary file .bin ?

(OP)
it's a library for an executable program (VB program) and I want to access to yhose data.

RE: Reading Binary file .bin ?

Try any binary/hex editor. I use UltraEdit (http://www.ultraedit.com/) for this purpose and normal text/language editing.

RE: Reading Binary file .bin ?

As cipher17 noted, use a hex editor.  There are some excellent 'free' ones out there...

Many hex editors have two windows... one that shows the ASCII character and the other holding the hexidecimal value.  Look to see if there is a pattern in the ASCII window; this may yield the length of whatever 'records' they have used.  It really helps if you have one of the records converted to numeric value.  It's a matter of looking at the hex value for the numeric value.  You may also require determining if numeric variables are single or double or something else...

Start with the easy ones first and then fill in the blanks... good luck...  I recently unravelled some climatic data, having the Fortran source for the 'encoding'... it was not pretty; it looks like the original record had been added to by various programmers over the years... but, by adding to the original source... after several iterations, it was really strange.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources