DecodeRune2 (FUN)ΒΆ
FUNCTION DecodeRune2 : RUNE
Decodes a rune out of two segments and returns its length and offset.
If rune is complete in the first segment, than no offset is returned.
An encoding is invalid if it is incorrect UTF-8, encodes a rune that is
out of range, or is not the shortest possible UTF-8 encoding for the
value. No other validation is performed.
- InOut:
- Scope - Name - Type - Comment - Return - DecodeRune2- Input - pbyData- POINTER TO BYTE - Pointer to the first byte of the first segment - udiSize- UDINT- Size of the first segment in bytes - pbyData2- POINTER TO BYTE - Pointer to the first byte of the second segment - udiSize2- UDINT- Size of the second segment in bytes - Output - udiLength- UDINT- Lenght of the rune in bytes - udiOffset- UDINT- Offset of the second segment needed bytes 
