Skip to content

Commit 7a31266

Browse files
authored
Make repeated field example values consistent
1 parent d58733f commit 7a31266

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/programming-guides/encoding.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ message Test4 {
324324
```
325325

326326
and we construct a `Test4` message with `d` set to `"hello"`, and `e` set to
327-
`1`, `2`, and `3`, this *could* be encoded as `` `3206038e029ea705` ``, or
327+
`3`, `270`, and `86942`, this *could* be encoded as `` `3206038e029ea705` ``, or
328328
written out as Protoscope,
329329

330330
```proto
@@ -340,10 +340,10 @@ records for the same field with respect to each other is preserved. Thus, this
340340
could look like the following:
341341

342342
```proto
343-
6: 1
344-
6: 2
345-
4: {"hello"}
346343
6: 3
344+
6: 270
345+
4: {"hello"}
346+
6: 86942
347347
```
348348

349349
Only repeated fields of primitive numeric types can be declared "packed". These

0 commit comments

Comments
 (0)