pub fn decode_proto(buffer: &mut Buffer) -> RpResult<(String, Vec<Value>)>