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> <term>string</term>
<listitem> <listitem>
<para> <para>
Starts with an unsigned 32-bit length, followed by the Starts with an unsigned 32-bit length (including null terminator),
string contents, including terminating null byte, then padding followed by the string contents, including terminating null byte,
to a 32-bit boundary. then padding to a 32-bit boundary.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>