mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Minor grammar fixes to documentation
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user