nodejs/tools/getendian.py

5 lines
90 B
Python
Raw Normal View History

2022-08-16 11:12:47 +08:00
from __future__ import print_function
import sys
# "little" or "big"
print(sys.byteorder)