pub fn encode_message<M>( emsg: EMsg, header: &CMsgProtoBufHeader, body: &M, ) -> Result<Bytes>where M: Message,