Endianness

[ Enumeration ]

export enum Endianness {
    LittleEndian,
    BigEndian
}

Endianness defines the order in which the bytes that make up a data point are stored. Possible sequences are smallest byte first or largest byte first.

The names of the enumeration exist at runtime. So, for example, you can use TcHmi.Endianness.LittleEndian directly.

Values

Name

Value

Description

LittleEndian

0

Byte with the smallest value first. Example: The number 41394 (hexadecimal: 0xA1B2) is stored in two bytes as [ 0xB2, 0xA1 ].

BigEndian

1

Byte with the largest value first. Example: The number 41394 (hexadecimal: 0xA1B2) is stored in two bytes as [ 0xA1, 0xB2 ].

Endianness 1:

Available from version 1.10