Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import construct
- st = construct.Struct(
- "int1" / construct.Int32ub,
- "int2" / construct.Int32ub,
- "int3" / construct.Int32ub,
- )
- with open("b.bin", "rb") as fd:
- print(st.parse_stream(fd))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement