nodejs/tools/getendian.py

5 lines
90 B
Python

from __future__ import print_function
import sys
# "little" or "big"
print(sys.byteorder)