From eca836add596f5c00fd556613d510df81f0e23b2 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Sat, 18 Dec 2021 14:19:41 +0100 Subject: [PATCH] doc: Clarify that null terminator is included in string length Signed-off-by: Mikhail Gusarov --- doc/publican/sources/Protocol.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/publican/sources/Protocol.xml b/doc/publican/sources/Protocol.xml index 0b27082..580cecb 100644 --- a/doc/publican/sources/Protocol.xml +++ b/doc/publican/sources/Protocol.xml @@ -149,9 +149,9 @@ string - Starts with an unsigned 32-bit length, followed by the - string contents, including terminating null byte, then padding - to a 32-bit boundary. + Starts with an unsigned 32-bit length (including null terminator), + followed by the string contents, including terminating null byte, + then padding to a 32-bit boundary. -- 2.7.4