Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. import construct
  2.  
  3. st = construct.Struct(
  4.     "int1" / construct.Int32ub,
  5.     "int2" / construct.Int32ub,
  6.     "int3" / construct.Int32ub,
  7. )
  8.  
  9. with open("b.bin", "rb") as fd:
  10.     print(st.parse_stream(fd))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement