FUNCTION EncodeRune : UDINT
Writes into pbyData (which must be large enough) the UTF-16 encoding of diRune.
It returns the number of bytes written.
InOut:
|
Scope
|
Name
|
Type
|
Initial
|
Return
|
EncodeRune
|
UDINT
|
|
Input
|
diRune
|
RUNE
|
|
pbyData
|
POINTER TO BYTE
|
|
udiSize
|
UDINT
|
|
xHostByteOrder
|
BOOL
|
TRUE
|
|