Deserializes data in the UDT’s serialized format back into the UDT.
Returns 0 if the operation was successful, 1 otherwise.
int FNC_UdtDeserialize (UDT_HANDLE udt, BYTE *buffer, FNC_LobLength_t data_length)
- the handle of the UDT.
- the user buffer that contains the UDT value in its serialized format.
- the length of the data in the buffer.
When invoking FNC_UdtDeserialize, you must pass in a buffer that contains all of the serialized data. FNC_UdtDeserialize deserializes this data back into the UDT, but this must be done in a single call to FNC_UdtDeserialize.
The query will fail if the UDT does not support serialize/deserialize.