spas
Programmer
- Sep 11, 2002
- 20
I'm trying to figure out how to convert a struct (or class) to a char[] representation of the struct. I've got a struct that has several short and byte field definitions that needs to be concatenated with another struct and sent to unmanaged code.
I think that I should use an explicit operator, but don't know how to copy the information in the struct to the new char[].
Any ideas?
Thanks, Scott
I think that I should use an explicit operator, but don't know how to copy the information in the struct to the new char[].
Any ideas?
Thanks, Scott