Skip to content

Instantly share code, notes, and snippets.

@garrickp
Created December 23, 2014 23:14
Show Gist options
  • Save garrickp/9191287c36b69ed59d58 to your computer and use it in GitHub Desktop.
Save garrickp/9191287c36b69ed59d58 to your computer and use it in GitHub Desktop.
Whisper File Format
## Header ##
0000000 00 00 00 01 # Aggregation method of 1: average
00 00 08 70 # Max Storage of 2,160 seconds
3f 00 00 00 # X Files Factor of 0.5
00 00 00 03 # Archive Count of 3
## Archive List ##
0000010 00 00 00 34 # Archive 1: Offset within the file
00 00 00 0a # Archive 1: Seconds per point: 10
00 00 00 06 # Archive 1: Points: 6
00 00 00 7c # Archive 2: Offset within this file
0000020 00 00 00 3c # Archive 2: Seconds per point: 60
00 00 00 06 # Archive 2: Points: 6
00 00 00 c4 # Archive 3: Offset within this file
00 00 01 68 # Archive 3: Seconds per Point: 360
0000030 00 00 00 06 # Archive 3: Points: 6
## Archives ##
00 00 00 00 00 00 00 00 00 00 00 00 # Start of Archive 1 (note that the offset is 34, which matches with
# the offset stored for archive 1 in the archive list above
0000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # The archives are empty, so all of the rest of the file is filled with 0's
*
0000100 00 00 00 00 00 00 00 00 00 00 00 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment