[newbie] conversion between types

  • Thread starter Thread starter winthux
  • Start date Start date
Hello Newbie,

Please give more information about what you are trying to accomplish.

Data, in structures, can be copied to fields in other structures using
field-by-field assignment.

Is this the answer you were expecting?

--- Nick
 
U¿ytkownik "Nick Malik said:
Hello Newbie,

Please give more information about what you are trying to accomplish.

You see... I receive data from socket and i have it in byte[] receivedBytes.
I want to put it in structure:
public struct header {
int type;
int length;
int key;
}
So how can i do this?
 
Back
Top