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
OpcUaStackStartDecode
OpcUa_StatusCode
Input
pBuffer
POINTER TO OpcUa_Byte
Pointer to the buffer used to read the binary data from.
bufferSize
__XWORD
Size of the buffer.
Output
decoder
OpcUa_Handle
Handle the decoder object. Use as input to the other functions.