教程

本节中的每个教程都将向您展示如何使用您喜欢的语言通过 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 入门介绍。