index
:
micropython
master
parse-bytecode
v1.22-release
v1.24-release
MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
Aslak Raanes
summary
refs
log
tree
commit
diff
stats
homepage
log msg
author
committer
range
path:
root
/
tests
/
basics
/
struct1.py
blob: 6feaca38498f85de8dc75981110f0771e58f265c (
plain
) (
blame
)
1
2
3
import struct print(struct.calcsize("<bI")) print(struct.unpack("<bI", b"\x80\0\0\x01\0"))