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