OpcUaStackDecodeValue (FUN)

FUNCTION OpcUaStackDecodeValue : OpcUa_StatusCode

Decode a ua builtin type.

Attention: Memory max be allocated when reading types which contains pointers (such as OpcUa_String, OpcUa_NodeId) Use the correspoinding OpcUaxxxClear()

functions to free the memory.

InOut:

Scope

Name

Type

Comment

Return

OpcUaStackDecodeValue

OpcUa_StatusCode

Input

decoder

OpcUa_Handle

Handle to the decoder.

builtinType

USINT

Type to read from the decoder.

pDst

POINTER TO BYTE

Pointer to the OpcUa_xxx to decode the data to.