diff --git a/content/programming-guides/encoding.md b/content/programming-guides/encoding.md index 3a7c05264..43da37c5e 100644 --- a/content/programming-guides/encoding.md +++ b/content/programming-guides/encoding.md @@ -324,7 +324,7 @@ message Test4 { ``` and 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 +`3`, `270`, and `86942`, this *could* be encoded as `` `220568656C6C6F3206038e029ea705` ``, or written out as Protoscope, ```proto @@ -340,10 +340,10 @@ records for the same field with respect to each other is preserved. Thus, this could look like the following: ```proto -5: 1 -5: 2 +6: 3 +6: 270 4: {"hello"} -5: 3 +6: 86942 ``` Only repeated fields of primitive numeric types can be declared "packed". These