Skip to content

Commit 82bb2b6

Browse files
authored
Fix grammar in Protobuf description (#2910)
Corrected a grammatical error in the Protobuf section for clarity.
1 parent d106143 commit 82bb2b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/java/basis/serialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ GitHub 地址:[https://github.com/EsotericSoftware/kryo](https://github.com/Es
185185

186186
### Protobuf
187187

188-
Protobuf 出自于 Google,性能还比较优秀,也支持多种语言,同时还是跨平台的。就是在使用中过于繁琐,因为你需要自己定义 IDL 文件和生成对应的序列化代码。这样虽然不灵活,但是,另一方面导致 protobuf 没有序列化漏洞的风险
188+
Protobuf 出自于 Google,性能还比较优秀,也支持多种语言,同时还是跨平台的。就是在使用中过于繁琐,因为你需要自己定义 IDL 文件和生成对应的序列化代码。这样虽然不灵活,但另一方面也避免了 protobuf 出现序列化漏洞的风险
189189

190190
> Protobuf 包含序列化格式的定义、各种语言的库以及一个 IDL 编译器。正常情况下你需要定义 proto 文件,然后使用 IDL 编译器编译成你需要的语言
191191

0 commit comments

Comments
 (0)