summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJuan Cruz Viotti <jv@jviotti.com>2021-01-21 12:22:47 -0400
committerJens Geyer <jensg@apache.org>2021-02-14 11:38:54 +0100
commit47b3d3b148c5181c02f4f871444fe93ad4ec65f2 (patch)
treece81c216e9f74fadf0910e85694716f685465fb4 /doc
parentb04e39a7e91d7828cce9168c4660b89400930ee5 (diff)
downloadthrift-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>
Diffstat (limited to 'doc')
-rw-r--r--doc/specs/thrift-compact-protocol.md3
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