serialize_ocv — Serialize an OCV tool.
serialize_ocv serializes the data of an OCV tool (see fwrite_serialized_item for an introduction of the basic principle of serialization). The same data that is written in a file by write_ocv is converted to a serialized item. The OCV tool is defined by the handle OCVHandle. The serialized OCV tool is returned by the handle SerializedItemHandle and can be deserialized by deserialize_ocv.
Handle of the OCV tool.
Handle of the serialized item.
If the parameters are valid, the operator serialize_ocv returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
fwrite_serialized_item, send_serialized_item, deserialize_ocv