教程

本節中的每個教程都將向您展示如何使用您喜歡的語言實現一個簡單的應用程式,介紹該語言的 Protocol Buffers 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 使用基礎介紹。