doc: Fix wrong references found by new makerst.py
Thanks @PJB3005
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="PoolByteArray" category="Built-In Types" version="3.1">
|
||||
<brief_description>
|
||||
Raw byte array.
|
||||
A pooled [Array] of bytes.
|
||||
</brief_description>
|
||||
<description>
|
||||
Raw byte array. Contains bytes. Optimized for memory usage, can't fragment the memory. Note that this type is passed by value and not by reference.
|
||||
An [Array] specifically designed to hold bytes. Optimized for memory usage, does not fragment the memory. Note that this type is passed by value and not by reference.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
@@ -17,7 +17,7 @@
|
||||
<argument index="0" name="from" type="Array">
|
||||
</argument>
|
||||
<description>
|
||||
Create from a generic array.
|
||||
Construct a new [code]PoolByteArray[/code]. Optionally, you can pass in a generic [Array] that will be converted.
|
||||
</description>
|
||||
</method>
|
||||
<method name="append">
|
||||
@@ -40,7 +40,7 @@
|
||||
<argument index="0" name="compression_mode" type="int" default="0">
|
||||
</argument>
|
||||
<description>
|
||||
Returns a new [code]PoolByteArray[/code] with the data compressed. Set the compression mode using one of [File]'s COMPRESS_* constants.
|
||||
Returns a new [code]PoolByteArray[/code] with the data compressed. Set the compression mode using one of [enum File.CompressionMode]'s constants.
|
||||
</description>
|
||||
</method>
|
||||
<method name="decompress">
|
||||
@@ -51,21 +51,21 @@
|
||||
<argument index="1" name="compression_mode" type="int" default="0">
|
||||
</argument>
|
||||
<description>
|
||||
Returns a new [code]PoolByteArray[/code] with the data decompressed. Set buffer_size to the size of the uncompressed data. Set the compression mode using one of [File]'s COMPRESS_* constants.
|
||||
Returns a new [code]PoolByteArray[/code] with the data decompressed. Set [code]buffer_size[/code] to the size of the uncompressed data. Set the compression mode using one of [enum File.CompressionMode]'s constants.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_string_from_ascii">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
Returns a copy of the array's contents as [String]. Fast alternative to [method PoolByteArray.get_string_from_utf8] if the content is ASCII-only. Unlike the UTF-8 function this function maps every byte to a character in the array. Multibyte sequences will not be interpreted correctly. For parsing user input always use [method PoolByteArray.get_string_from_utf8].
|
||||
Returns a copy of the array's contents as [String]. Fast alternative to [method get_string_from_utf8] if the content is ASCII-only. Unlike the UTF-8 function this function maps every byte to a character in the array. Multibyte sequences will not be interpreted correctly. For parsing user input always use [method get_string_from_utf8].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_string_from_utf8">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
Returns a copy of the array's contents as [String]. Slower than [method PoolByteArray.get_string_from_ascii] but supports UTF-8 encoded data. Use this function if you are unsure about the source of the data. For user input this function should always be preferred.
|
||||
Returns a copy of the array's contents as [String]. Slower than [method get_string_from_ascii] but supports UTF-8 encoded data. Use this function if you are unsure about the source of the data. For user input this function should always be preferred.
|
||||
</description>
|
||||
</method>
|
||||
<method name="insert">
|
||||
@@ -76,7 +76,7 @@
|
||||
<argument index="1" name="byte" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()).
|
||||
Insert a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="invert">
|
||||
|
||||
Reference in New Issue
Block a user