Help with removing hex data from a file in VC#

V

VC#user

Hi All,

I am processing a hex dump using VC# and printing out textual data
according to a protocol.
I am opening the binary looking for Beginning of msg, end of msg and
within these two, assuming all the info as data and processing the
data and printing textual results. But the hardware that is dumping
the hex is adding some additional bytes, which I should ignore. for
example, my begining of message is 0xf1 and end is 0xf2. between 0xf1
and 0xf2 whatever i get is assumed as data and i am continuing my
processing based on the length, id etc. but suddenly i have some junk
data (which is always 24 bytes in my case but the string is having
some fixed signature like out of 24 bytes the starting bytes are
fixed). So, how do i remove these 24 bytes and process my data.?
 
P

Pavel A.

Wrong NG, this one is for c/c++.
More over, if your question is how to interpret binary
data created by some proprietary system,
I'm afraid that no newsgroup on this server can help.

Good luck,
-- pa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top