pub fn encode<T>(message: T) -> Vec<u8>where T: DefaultEncoding, <T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources>,
Encodes a message with its default encoding.