Help !! char[] to structure

  • Thread starter Thread starter alfacom
  • Start date Start date
A

alfacom

Hi, I have a char array. I would like to fill these values into a
structure.
Anyone can help me ?
 
I'm not sure if you can do it directly with a char array, but if you move
the data into a byte array, you can use a MemoryStream and BinaryReader to
read the raw data as other data.

If all your data is actually string data, then just move it into a string
and parse the string.

Pete

--
http://www.petedavis.net

alfacom said:
Hi, I have a char array. I would like to fill these values into a
structure.
Anyone can help me ?
 

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

Back
Top