Skip to content

Instantly share code, notes, and snippets.

@shatsar
Created March 28, 2012 20:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shatsar/2230274 to your computer and use it in GitHub Desktop.
Revelation header generation
def __generate_header(self):
"Generates a header"
header = "rvl\x00" # magic string
header += "\x01" # data version
header += "\x00" # separator
header += "\x00\x04\x06" # application version TODO
header += "\x00\x00\x00" # separator
return header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment