Reading in hex values

G

Guest

I'm trying to read in a file that, towards the end, has a bunch of hex values
that translate to . And example of a line is:
sh.fX...wu.....
What I really want are each of the associated hex values:
73 68 8C 66 58 E8 1E F6 77 75 82 FD F0 DF D7 DB
Does anyone know how I can read these in? I've tried both a stream reader
and a binary reader, but I loose the .'s which, beleive it or not, are very
important. ANy ideas?

Thank you,
Susan
 
G

Guest

Duh.... never mind. I should have used readbytes instead of the straight
read. Sorry for my senile moment.....
 

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