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