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