OpcUaStackStartDecode (FUN)
FUNCTION OpcUaStackStartDecode : OpcUa_StatusCode
- Initialize a UA binary decoder object. Use the FUNCTION in the following order:
OpcUaStackStartDecode: This prepares the decoder object for reading binary data.
Any of OpcUaStackDecodeValue, OpcUaStackDecodeGetPosition, OpcUaStackDecodeSetPosition: Use these functions to write the binary data.
OpcUaStackFinishDecode: This deletes the decoder object. Do not call any other function with this handle.
- InOut:
Scope
Name
Type
Comment
Return
OpcUaStackStartDecodeOpcUa_StatusCodeInput
pBufferPOINTER TO OpcUa_Byte
Pointer to the buffer used to read the binary data from.
bufferSize__XWORDSize of the buffer.
Output
decoderOpcUa_HandleHandle the decoder object. Use as input to the other functions.