# 说明 ## 解析 ```shell protoc --decode_raw < msg_data.txt ``` ## 根据解析结果,设置.proto文件 ```shell 1 { 1: 16 2: 0 } 3 { 1: 1 2: "wxid_4b1t09d63spw22" } 3 { 1: 7 2: "\n\t\n\t\t2\n\t\n\t\n\t\tc6680ab2c57499a1a22e44a7eada76e8_\n\t\n\t1\n\t198\n\tv1_Gj7hfmi5\n\t\n\t\t\n\t\n\n" } 3 { 1: 2 2: "c13acbc95512d1a59bb686d684fd64d8" } 3 { 1: 4 2: "yiluoAK_47\\FileStorage\\Cache\\2023-08\\2286b5852db82f6cbd9c2084ccd52358" } ``` ## 生成python文件 ```shell protoc --python_out=. msg.proto ```