ByteOrder
- class cometa.common.byte_order.ByteOrder(value)[source]
Bases:
IntEnumEnumerates the possible byte order types for endianness interpretation.
This enumeration is used to specify the byte order of data being processed, particularly when bytes need to be interpreted as numeric values.
- LITTLE_ENDIAN = 0
Little-endian byte order. The least significant byte (LSB) is placed at the smallest address.
- BIG_ENDIAN = 1
Big-endian byte order. The most significant byte (MSB) is placed at the smallest address. (Commonly known as network byte order).