pub fn decode<'a, T: DefaultEncoding>(data: &'a [u8]) -> Result<T>where T::Encoding: MessageDecode<'a, T, NoResources>,
Decodes a message with its default encoding.