Skip to content

Commit

Permalink
Fix typo in encoding.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tholop authored Jun 18, 2024
1 parent 05a8310 commit 2aaa117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/programming-guides/encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ encoding of `"testing"`. The int32 varint means that the max length of a string
is 2GB.

In Protoscope, this is written as `2:LEN 7 "testing"`. However, it can be
incovenient to repeat the length of the string (which, in Protoscope text, is
inconvenient to repeat the length of the string (which, in Protoscope text, is
already quote-delimited). Wrapping Protoscope content in braces will generate a
length prefix for it: `{"testing"}` is a shorthand for `7 "testing"`. `{}` is
always inferred by fields to be a `LEN` record, so we can write this record
Expand Down

0 comments on commit 2aaa117

Please sign in to comment.