DecodeBOM (FUN)
FUNCTION DecodeBOM : UDINT
Attempts to recognize a BOM in the first bytes of byData
and then returns the corresponding ENCODING
and its length in bytes.
- InOut:
Scope |
Name |
Type |
Return |
DecodeBOM
|
UDINT
|
Input |
pbyData
|
POINTER TO BYTE |
udiSize
|
UDINT
|
Output |
eEncoding
|
ENCODING |
eErrorID
|
ERROR |