doc: Clarify that null terminator is included in string length
authorMikhail Gusarov <dottedmag@dottedmag.net>
Sat, 18 Dec 2021 13:19:41 +0000 (14:19 +0100)
committerMikhail Gusarov <dottedmag@dottedmag.net>
Sat, 18 Dec 2021 14:01:21 +0000 (15:01 +0100)
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
doc/publican/sources/Protocol.xml

index 0b27082..580cecb 100644 (file)
          <term>string</term>
          <listitem>
            <para>
-             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.
            </para>
          </listitem>
        </varlistentry>