EncodeBOM (FUN)

FUNCTION EncodeBOM : UDINT

Writes into pbyData (which must be large enough) a BOM that matches the ENCODING

It returns the number of bytes written.

InOut:

Scope

Name

Type

Return

EncodeBOM

UDINT

Input

eEncoding

ENCODING

pbyData

POINTER TO BYTE

udiSize

UDINT

Output

eErrorID

ERROR