Merge pull request #48889 from Calinou/file-rename-endian-swap
Rename File's `endian_swap` to `big_endian`
This commit is contained in:
commit
7ab34e1a96
11 changed files with 43 additions and 43 deletions
|
|
@ -490,10 +490,10 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="endian_swap" type="bool" setter="set_endian_swap" getter="get_endian_swap" default="false">
|
||||
<member name="big_endian" type="bool" setter="set_big_endian" getter="is_big_endian" default="false">
|
||||
If [code]true[/code], the file is read with big-endian [url=https://en.wikipedia.org/wiki/Endianness]endianness[/url]. If [code]false[/code], the file is read with little-endian endianness. If in doubt, leave this to [code]false[/code] as most files are written with little-endian endianness.
|
||||
[b]Note:[/b] [member endian_swap] is only about the file format, not the CPU type. The CPU endianness doesn't affect the default endianness for files written.
|
||||
[b]Note:[/b] This is always reset to [code]false[/code] whenever you open the file. Therefore, you must set [member endian_swap] [i]after[/i] opening the file, not before.
|
||||
[b]Note:[/b] [member big_endian] is only about the file format, not the CPU type. The CPU endianness doesn't affect the default endianness for files written.
|
||||
[b]Note:[/b] This is always reset to [code]false[/code] whenever you open the file. Therefore, you must set [member big_endian] [i]after[/i] opening the file, not before.
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue