Beispiel #1
0
 public static byte[] ToBytes(Packet packet)
 {
     return(SerializationUtils.ToBytes(packet));
 }
Beispiel #2
0
 public static Packet FromBytes(byte[] raw)
 {
     return(SerializationUtils.FromBytes <Packet>(raw));
 }