dashboard
repositories
activity
search
login
ljy
/
RK3588_XEN
forked from
~ljy/RK3588_XEN
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
r8169 get mac form eeprom
hc
2024-08-13
72be3801e63d82671c9d90577a9efb3126a6aa37
[~ljy/RK3588_XEN.git]
/
buildroot
/
support
/
testing
/
tests
/
package
/
sample_python_bitstring.py
1
2
3
4
5
6
import bitstring
value = bitstring.BitArray("uint:12=42")
assert(value.hex == "02a")
assert(value.bin == "000000101010")
assert(value.uint == 42)