pub fn encode_buffer<T: Transport, M>( buffer: &mut T::SendBuffer, txid: u32, ordinal: u64, message: &mut M, ) -> Result<(), EncodeError>where for<'a> T::Encoder<'a>: Encoder, M: for<'a> Encode<T::Encoder<'a>>,
Encodes a message into the given buffer.