Reading in hex values

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Duh.... never mind. I should have used readbytes instead of the straight
read. Sorry for my senile moment.....
 
Back
Top