\inmodule QtCore
The QLEInteger class provides platform-independent little-endian integers.
- Since
- 5.10
The template parameter T
must be a C++ integer type: \list
- 8-bit: char, signed char, unsigned char, qint8, quint8
- 16-bit: short, unsigned short, qint16, quint16, char16_t
- 32-bit: int, unsigned int, qint32, quint32, char32_t
- 64-bit: long long, unsigned long long, qint64, quint64
- platform-specific size: long, unsigned long
- pointer size: qintptr, quintptr, qptrdiff \endlist
- Note
- Using this class may be slower than using native integers, so only use it when an exact endianness is needed.