create_serialized_item_ptr — Create a serialized item.
It is not recommended to use the operator
create_serialized_item_ptr in HDevelop.
create_serialized_item_ptr creates a serialized item
and returns the handle
fwrite_serialized_item for an introduction of the basics of
serialization). The data pointer, i.e., the beginning of the
serialized item, is passed by the parameter
The size of the serialized item in bytes is passed by parameter
Size. The behavior of the operator is controlled by the
Copy is set to 'true',
a new serialized item is created and the values of the existing
serialized item are copied. If
Copy is set to
'false', only the data pointer of the input serialized item
is stored, i.e., the actual data are not copied, which leads to shorter
If the parameter
Copy is set to 'false', the data
pointer of the serialized item must not be deleted during using the
new serialized item.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Data pointer of the serialized item.
Size of the serialized item.
Copy mode of the serialized item.
Default value: 'true'
List of values: 'false', 'true'
Handle of the serialized item.
If the parameters are valid, the operator
create_serialized_item_ptr returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.