summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-10 13:27:29 +0200
committerGitHub <noreply@github.com>2020-04-10 13:27:29 +0200
commitc52beb6adb3b7af6f9ca79b6dfad1783a1fae351 (patch)
treed6d400e132a6e019164d6fa04990eb8c33fc4340
parente383798327a44932dea71b6fe4c1c3b18fad7fdf (diff)
parent97e20b2f30c9a3241c9882a74594db98954becdc (diff)
Merge pull request #37297 from dalexeev/doc_file
Improve the `File.store_{8,16,32,64}()` documentation
-rw-r--r--doc/classes/File.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/File.xml b/doc/classes/File.xml
index e9477517cf..17c65731ff 100644
--- a/doc/classes/File.xml
+++ b/doc/classes/File.xml
@@ -297,6 +297,7 @@
</argument>
<description>
Stores an integer as 16 bits in the file.
+ [b]Note:[/b] The [code]value[/code] should lie in the interval [code][0, 2^16 - 1][/code].
</description>
</method>
<method name="store_32">
@@ -306,6 +307,7 @@
</argument>
<description>
Stores an integer as 32 bits in the file.
+ [b]Note:[/b] The [code]value[/code] should lie in the interval [code][0, 2^32 - 1][/code].
</description>
</method>
<method name="store_64">
@@ -315,6 +317,7 @@
</argument>
<description>
Stores an integer as 64 bits in the file.
+ [b]Note:[/b] The [code]value[/code] must lie in the interval [code][-2^63, 2^63 - 1][/code] (i.e. be a valid [int] value).
</description>
</method>
<method name="store_8">
@@ -324,6 +327,7 @@
</argument>
<description>
Stores an integer as 8 bits in the file.
+ [b]Note:[/b] The [code]value[/code] should lie in the interval [code][0, 255][/code].
</description>
</method>
<method name="store_buffer">