You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2021/02/14 10:42:39 UTC
[thrift] 01/02: Make it clear that strings are not NUL-delimited
Patch: Juan Cruz Viotti
This is an automated email from the ASF dual-hosted git repository.
jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
commit 47b3d3b148c5181c02f4f871444fe93ad4ec65f2
Author: Juan Cruz Viotti <jv...@jviotti.com>
AuthorDate: Thu Jan 21 12:22:47 2021 -0400
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>
---
doc/specs/thrift-compact-protocol.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/specs/thrift-compact-protocol.md b/doc/specs/thrift-compact-protocol.md
index 6be2a62..001bb12 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