doc: Clarify that null terminator is included in string length

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
This commit is contained in:
Mikhail Gusarov 2021-12-18 14:19:41 +01:00
parent 971a0a8b84
commit eca836add5

View file

@ -149,9 +149,9 @@
<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>