mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
16 lines
296 B
Python
16 lines
296 B
Python
"""
|
|
Constant values about endian.
|
|
"""
|
|
|
|
from hachoir_core.i18n import _
|
|
|
|
BIG_ENDIAN = "ABCD"
|
|
LITTLE_ENDIAN = "DCBA"
|
|
MIDDLE_ENDIAN = "BADC"
|
|
NETWORK_ENDIAN = BIG_ENDIAN
|
|
|
|
endian_name = {
|
|
BIG_ENDIAN: _("Big endian"),
|
|
LITTLE_ENDIAN: _("Little endian"),
|
|
MIDDLE_ENDIAN: _("Middle endian"),
|
|
}
|