Пример #1
0
 public byte[] GetBytes()
 {
     return(StructMarshal.GetBytesFromStruct(this));
 }
Пример #2
0
 public JamPacketHeader(byte[] rawBytes)
 {
     this = StructMarshal.GetStructFromBytes <JamPacketHeader>(rawBytes);
 }