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