Created
October 21, 2008 15:57
-
-
Save bdonlan/18335 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BOBCob format: | |
FLAG_COMPRESSED = 1 | |
FLAG_C2 = 2 | |
char[5] version "PKG01" | |
byte flags | |
byte titlelength | |
char[titlelength] title | |
byte filecount | |
foreach file: | |
short filename_len | |
char[filename_len] filename | |
long filelength | |
if filelength > 0 | |
if flags & FLAG_COMPRESSED | |
long compressedlength | |
byte[flags & FLAG_COMPRESSED ? compressedlength : filelength] data | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment