BuilderBase ¶ Aliases Constants (GVL) IStringRepresentation (Alias) RUNE (Alias) Enums ENCODING (Enum) ERROR (Enum) Function Blocks Range (FunctionBlock) IRange GetNextRune (Method) Reset (Method) UngetLastRune (Method) SetInitialValue (Method) Functions CreateRange (Function) CreateRangePool (Function) Interfaces IBuilder (Interface) Reset (Method) Segments GetCurrentSegment (Method) GetFirstSegment (Method) GetNextSegment (Method) ValidateSegment (Method) WriteIString (Method) WriteMemSegment (Method) WriteRune (Method) WriteString (Method) WriteWString (Method) ICharmap (Interface) Decode (Method) Encode (Method) Internals _RangePool (FunctionBlock) Protected GetRangeSize (Method) NewRange (Method)
Aliases ¶ Constants (GVL) IStringRepresentation (Alias) RUNE (Alias)
Constants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant c_diRuneError RUNE UTF8.c_diRuneError The “error” Rune or “Unicode replacement character” c_diMaxRune DINT UTF8.c_diMaxRune
IStringRepresentation (ALIAS) ¶ TYPE IStringRepresentation : STR.|dIStringRepresentation|
RUNE (ALIAS) ¶ TYPE RUNE : UTF8.|dRUNE| The term rune appears in the libraries and source code, and means exactly the same as “unicode code point”, with one interesting addition. This library defines the word rune as an alias for the type DINT , so programs can be clear when an integer value represents a code point. Moreover, what you might think of as a character constant is called a rune constant. The type and value of the expression WSTRING#"⌘" is a rune with the integer value DINT#16#2318 .
Enums ¶ ENCODING (Enum) ERROR (Enum)
ENCODING (ENUM) ¶ TYPE ENCODING : Attributes: qualified_only InOut: Name Comment UNKNOWN UTF8 UTF-8 Encoding UTF16 UTF-16 Encoding (host byte order) UTF16BE UTF-16 Encoding (big endian byte order) UTF16LE UTF-16 Encoding (little endian byte order)
IBuilder.Reset (METH) ¶ METHOD Reset Resets the Builder to be empty InOut: Scope Name Type Output eErrorID ERROR
Segments ¶ GetCurrentSegment (Method) GetFirstSegment (Method) GetNextSegment (Method) ValidateSegment (Method)
IBuilder.WriteIString (METH) ¶ METHOD WriteIString : UDINT Appends the contents of itfString to the buffer. It returns the number of bytes written. InOut: Scope Name Type Return WriteIString UDINT Input itfString IStringRepresentation Output eErrorID ERROR