Minor grammar fixes to documentation

This commit is contained in:
Ninni Pipping
2023-05-28 18:10:39 +02:00
parent 28cca66d2c
commit 17fb77223c
8 changed files with 12 additions and 12 deletions

View File

@@ -101,7 +101,7 @@
<return type="String" />
<param index="0" name="bytes" type="int" default="-1" />
<description>
Gets an UTF-8 string with byte-length [param bytes] from the stream (this decodes the string sent as UTF-8). If [param bytes] is negative (default) the length will be read from the stream using the reverse process of [method put_utf8_string].
Gets a UTF-8 string with byte-length [param bytes] from the stream (this decodes the string sent as UTF-8). If [param bytes] is negative (default) the length will be read from the stream using the reverse process of [method put_utf8_string].
</description>
</method>
<method name="get_var">
@@ -218,7 +218,7 @@
<param index="0" name="value" type="String" />
<description>
Puts a zero-terminated UTF-8 string into the stream prepended by a 32 bits unsigned integer representing its size.
[b]Note:[/b] To put an UTF-8 string without prepending its size, you can use [method put_data]:
[b]Note:[/b] To put a UTF-8 string without prepending its size, you can use [method put_data]:
[codeblocks]
[gdscript]
put_data("Hello world".to_utf8_buffer())