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

Return

EncodeRune

UDINT

Input

diRune

RUNE

pbyData

POINTER TO BYTE

udiSize

UDINT