教程

本节中的每个教程都会展示如何在您喜欢的语言中使用 protocol buffers 实现一个简单的应用程序,向您介绍该语言的 protocol buffer API,并展示创建和使用 .proto 文件的基础知识。

每个应用程序的完整示例代码也已提供。

这些教程不假设您对 protocol buffers 有任何了解,但假设您熟悉使用所选语言编写代码,包括文件 I/O。


Protocol Buffer 基础知识: C++

C++ 程序员使用 protocol buffers 的入门基础。

Protocol Buffer 基础知识: C#

C# 程序员使用 protocol buffers 的入门基础。

Protocol Buffer 基础知识: Dart

Dart 程序员使用 protocol buffers 的入门基础。

Protocol Buffer 基础知识: Go

Go 程序员使用 protocol buffers 的入门基础。

Protocol Buffer 基础知识: Java

Java 程序员使用 protocol buffers 的入门基础。

Protocol Buffer 基础知识: Kotlin

Kotlin 程序员使用 protocol buffers 的入门基础。

Protocol Buffer 基础知识: Python

Python 程序员使用 protocol buffers 的入门基础。