deserialize_handle🔗
Short description🔗
deserialize_handle — Deserialize a serialized item.
Signature🔗
deserialize_handle( serialized_item SerializedItem, out handle Handle )
Description🔗
deserialize_handle deserializes the content of
SerializedItem and returns the deserialized item in
Handle
(see fwrite_serialized_item for an introduction of the basic
principle of serialization).
The serialized item must have been created by serialize_handle,
or by the type specific serialization operators, such as
serialize_matrix or serialize_shape_model.
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
SerializedItem (input_control) serialized_item → (handle)
Handle containing the serialized item to be deserialized.
Handle (output_control) handle → (handle)
Handle containing the deserialized item.
Example🔗
(HDevelop)
create_matrix (3, 3, 0, MatrixID)
serialize_handle (MatrixID, SerializedMatrix)
deserialize_handle (SerializedMatrix, MatrixID2)
Result🔗
If the parameters are valid, the operator deserialize_handle
returns the value 2 (H_MSG_TRUE). Otherwise, an exception is raised.
Combinations with other operators🔗
Module🔗
Foundation