Beispiel #1
0
 public static byte[] Serialize(BlipMessage message, Encoding encoding)
 {
     return encoding.GetBytes(message.ToString());
 }
Beispiel #2
0
 public static byte[] Serialize(BlipMessage message)
 {
     return Encoding.UTF8.GetBytes(message.ToString());
 }