Tor Henrik Hovi
Member
Hi guys!
I have a structure like this:
and I would like to convert it to a 1-dimensional array of bytes.
is there a fancy and swift way of doing this or do I have to do it manually?
I have a structure like this:
Code:
Public Structure SendBuffer
Public MagicCookie As Short
Public Command As Short
Public Length As Integer
Public Data As Byte()
End Structure
and I would like to convert it to a 1-dimensional array of bytes.
is there a fancy and swift way of doing this or do I have to do it manually?