protocolbuffers / protocolbuffers/protocolbuffers.github.io
Encoding Repeated Elements Discussion Wrong
まだ誰も着手していません。
- 主要言語
- HTML
- スター
- 69
- フォーク
- 179
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'm brand new to Protobuf, so maybe I have this all wrong, but as best as I could make out, including by experimentation using protoc, the documentation on the encoding of repeated elements is wrong.
It says that if we "construct a Test4 message with d set to "hello", and e set to 1, 2, and 3, this could be encoded as 3206038e029ea705, or written out as Protoscope:"
4: {"hello"}
6: {3 270 86942}
First, the encoding given appears to be just for the values of e, not for the entire Test4 message.
Second, it appears the encoding is for e being set to 3, 270, and 86942, not 1, 2, and 3.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
引用されている Test4 と repeated-elements の例を含むドキュメントを特定し、issue の説明どおりに protoc で再現します。バイト列と Protoscope の値が記載されたメッセージと一致するか確認し、一致するように例と説明文を更新します。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100