"wire" 对二进制有线格式的 pb 意味着什么?

what does "wire" mean for pb of binary wire format?

我不确定这个问题是关于英语还是关于技术。 “电线”在技术术语中有什么含义吗?

它旨在被理解为“数据在线路上(即在网络中)传输时的格式”。实际上,它只是“二进制 protobuf 格式”——无论 proto 消息是保存到磁盘、通过网络发送还是仅在内存中生成都没有任何区别。

这是与以下内容的比较:

  • “protobuf 文本格式”(据我所知,它的文档不是很清楚;它主要在 Google 内部使用)
  • "The protobuf JSON format"
  • 任何in-memory表示