mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #6626 from RedMser/patch-3
This commit is contained in:
@@ -9,10 +9,12 @@ Introduction
|
||||
------------
|
||||
|
||||
Godot has a serialization API based on Variant. It's used for
|
||||
converting data types to an array of bytes efficiently. This API is used
|
||||
in the functions ``get_var`` and ``store_var`` of :ref:`class_FileAccess`
|
||||
as well as the packet APIs for :ref:`class_PacketPeer`. This format
|
||||
is *not* used for binary scenes and resources.
|
||||
converting data types to an array of bytes efficiently. This API is exposed
|
||||
via the global :ref:`bytes_to_var() <class_@GlobalScope_method_bytes_to_var>`
|
||||
and :ref:`var_to_bytes() <class_@GlobalScope_method_var_to_bytes>` functions,
|
||||
but it is also used in the ``get_var`` and ``store_var`` methods of
|
||||
:ref:`class_FileAccess` as well as the packet APIs for :ref:`class_PacketPeer`.
|
||||
This format is *not* used for binary scenes and resources.
|
||||
|
||||
Full Objects vs Object instance IDs
|
||||
-----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user