pub fn encode_proto<B: Bt + BtMut>( buffer: &mut Buffer<B>, name: &String, infos: Vec<Value>, ) -> Result<()>