Skip to content

deserialize_data_code_2d_modelDeserializeDataCode2dModelDeserializeDataCode2dModeldeserialize_data_code_2d_modelT_deserialize_data_code_2d_model🔗

Short description🔗

deserialize_data_code_2d_modelDeserializeDataCode2dModelDeserializeDataCode2dModeldeserialize_data_code_2d_modelT_deserialize_data_code_2d_model — Deserialize a serialized 2D code model.

Signature🔗

deserialize_data_code_2d_model( serialized_item SerializedItemHandle, out datacode_2d DataCodeHandle )void DeserializeDataCode2dModel( const HTuple& SerializedItemHandle, HTuple* DataCodeHandle )static void HOperatorSet.DeserializeDataCode2dModel( HTuple serializedItemHandle, out HTuple dataCodeHandle )def deserialize_data_code_2d_model( serialized_item_handle: HHandle ) -> HHandle

Herror T_deserialize_data_code_2d_model( const Htuple SerializedItemHandle, Htuple* DataCodeHandle )

void HDataCode2D::DeserializeDataCode2dModel( const HSerializedItem& SerializedItemHandle )

void HDataCode2D.DeserializeDataCode2dModel( HSerializedItem serializedItemHandle )

Description🔗

deserialize_data_code_2d_modelDeserializeDataCode2dModel deserializes a 2D code model, that was serialized by serialize_data_code_2d_modelSerializeDataCode2dModel (see fwrite_serialized_itemFwriteSerializedItem for an introduction of the basic principle of serialization). The serialized 2D code model is defined by the handle SerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in a new 2D code model with the handle DataCodeHandledataCodeHandledata_code_handle.

For an explanation of the concept of the 2D code reader see the introduction of chapter Identification / Data Code.

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🔗

SerializedItemHandleserializedItemHandleserialized_item_handle (input_control) serialized_item → (handle)HTuple (HHandle)HSerializedItem, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the serialized item.

DataCodeHandledataCodeHandledata_code_handle (output_control) datacode_2d → (handle)HTuple (HHandle)HDataCode2D, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the 2D code model.

Result🔗

The operator deserialize_data_code_2d_modelDeserializeDataCode2dModel returns the value 2 (H_MSG_TRUE) if the 2D code can be correctly deserialized. Otherwise, an exception is raised.

Combinations with other operators🔗

Combinations

Possible predecessors

fread_serialized_itemFreadSerializedItem, receive_serialized_itemReceiveSerializedItem, serialize_data_code_2d_modelSerializeDataCode2dModel

Possible successors

find_data_code_2dFindDataCode2d

Alternatives

create_data_code_2d_modelCreateDataCode2dModel

See also

serialize_data_code_2d_modelSerializeDataCode2dModel, clear_data_code_2d_modelClearDataCode2dModel

Module🔗

Data Code