Changeset 38d2a8b in ammosreader for ammosreader/AmmosGlobalFrameHeader.py
- Timestamp:
- 06/30/22 11:35:30 (3 years ago)
- Branches:
- AmmosSource, guix
- Children:
- 6ded698
- Parents:
- ca6263a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ammosreader/AmmosGlobalFrameHeader.py
rca6263a r38d2a8b 5 5 6 6 MAGIC_WORD = "726574fb" 7 HEADER_SIZE = 24 7 8 8 9 @classmethod 9 10 def from_bytes(cls, bytes): 10 11 11 elements = struct.unpack(' 4s4s4s4s4s4s', bytes)12 elements = struct.unpack('<4s4s4s4s4s4s', bytes) 12 13 13 14 magic_word = elements[0].hex()
Note:
See TracChangeset
for help on using the changeset viewer.