OpcUaStackStartEncode (FUN)
FUNCTION OpcUaStackStartEncode : OpcUa_StatusCode
- Initialize a UA binary encoder object. Use the FUNCTION in the following order:
- OpcUaStackStartEncode: This prepares the encoder object for writing binary data.
Any of OpcUaStackEncodeValue, OpcUaStackEncodeGetPosition, OpcUaStackEncodeSetPosition: Use these functions to write the binary data.
OpcUaStackFinishEncode: This deletes the encoder object. Do not call any other function with this handle.
- InOut:
Scope
Name
Type
Comment
Return
OpcUaStackStartEncodeOpcUa_StatusCodeInput
pBufferPOINTER TO OpcUa_Byte
Pointer to the buffer used to write the binary data.
bufferSize__XWORDSize of the buffer.
Output
encoderOpcUa_HandleHandle the encoder object. Use as input to the other functions.