diff options
author | Juan Cruz Viotti <jv@jviotti.com> | 2021-01-21 12:22:47 -0400 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2021-02-14 11:38:54 +0100 |
commit | 47b3d3b148c5181c02f4f871444fe93ad4ec65f2 (patch) | |
tree | ce81c216e9f74fadf0910e85694716f685465fb4 | |
parent | b04e39a7e91d7828cce9168c4660b89400930ee5 (diff) | |
download | thrift-47b3d3b148c5181c02f4f871444fe93ad4ec65f2.tar.gz |
Make it clear that strings are not NUL-delimited
Patch: Juan Cruz Viotti
This closes #2313
It might not be obvious from the existing description. I had to run some
experiments to double-check it and this might save some time to the next
interested reader.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
-rw-r--r-- | doc/specs/thrift-compact-protocol.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/specs/thrift-compact-protocol.md b/doc/specs/thrift-compact-protocol.md index 6be2a62f8..001bb1229 100644 --- a/doc/specs/thrift-compact-protocol.md +++ b/doc/specs/thrift-compact-protocol.md @@ -92,7 +92,8 @@ Where: ### String encoding -*String*s are first encoded to UTF-8, and then send as binary. +*String*s are first encoded to UTF-8, and then send as binary. They do not +include a NUL delimiter. ### Double encoding |