示例输入与设置
syntax = "proto3";
message Demo { string name = 1; }
Demo · {"name":"A"}依据.proto 定义编码或解码 Protocol Buffers 数据。
.proto · Protocol Buffers · Base64输入消息定义和 JSON 或 Base64 数据后进行转换。
先用下面的示例确认输入格式和选项,再处理自己的数据。示例中的随机值、文件大小和展示格式会随输入与设置变化。
syntax = "proto3";
message Demo { string name = 1; }
Demo · {"name":"A"}CgFB → {"name":"A"}