Skip to content

Commit 21944e1

Browse files
authored
Update encoding.md
Corrected equivalent zigzag encoding for -500
1 parent 2a776bb commit 21944e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/programming-guides/encoding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ When the `sint32` or `sint64` is parsed, its value is decoded back to the
214214
original, signed version.
215215

216216
In protoscope, suffixing an integer with a `z` will make it encode as ZigZag.
217-
For example, `-500z` is the same as the varint `1001`.
217+
For example, `-500z` is the same as the varint `999`.
218218

219219
### Non-varint Numbers
220220

0 commit comments

Comments
 (0)