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