EncodeRune (FUN)ΒΆ
FUNCTION EncodeRune : UDINT
Writes into
pbyData
(which must be large enough) the UTF-8 encoding of diRune
.It returns the number of bytes written.
- InOut:
Scope
Name
Type
Comment
Return
EncodeRune
UDINT
Input
diRune
Rune to be encoded
pbyData
POINTER TO BYTE
Pointer to the first byte of memory
udiSize
UDINT
Size of the memory in bytes