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 ?
 
Back
Top