From 47b3d3b148c5181c02f4f871444fe93ad4ec65f2 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Thu, 21 Jan 2021 12:22:47 -0400 Subject: 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 --- doc/specs/thrift-compact-protocol.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.1