CryptoRtsByteStringInit2 (FUN)
FUNCTION CryptoRtsByteStringInit2 : RTS_IEC_RESULT
Initialize a byte string.
- InOut:
Scope
Name
Type
Comment
Return
CryptoRtsByteStringInit2RTS_IEC_RESULTInput
pByteStringPOINTER TO RtsByteString
Pointer to the RtsByteString to be initialized.
ui32BufferSizeUDINTBuffersize needed for this byte string.
pBufferPOINTER TO BYTE
Pointer to a optional static buffer. If NULL is passed the function will allocated ui32BufferSize bytes from the heap.
xEmptyBufferBOOLUsed for static buffers. If FALSE pByteString->ui32Lenght will be set to ui32BufferSize. Must be TRUE if pBuffer == NULL