1 parent e60835b commit b85bcd6Copy full SHA for b85bcd6
1 file changed
tests/basics/struct1.py
@@ -10,6 +10,8 @@
10
# 32-bit little-endian specific
11
#print(struct.unpack("bI", b"\x80\xaa\x55\xaa\0\0\x01\0"))
12
13
+print(struct.pack("<l", 1))
14
+print(struct.pack(">l", 1))
15
print(struct.pack("<i", 1))
16
print(struct.pack(">i", 1))
17
print(struct.pack("<h", 1))
0 commit comments