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