📓 Add comment
This commit is contained in:
parent
26012652a6
commit
d541b16d39
1 changed files with 12 additions and 0 deletions
12
src/main.c
12
src/main.c
|
@ -25,6 +25,18 @@ void getFileReader(unsigned char path[], unsigned long offset, unsigned long len
|
||||||
int main(int argc, unsigned char *argv[]) {
|
int main(int argc, unsigned char *argv[]) {
|
||||||
printf("Hello World!\n");
|
printf("Hello World!\n");
|
||||||
|
|
||||||
|
//Initialise file reader
|
||||||
getFileReader("1234", 0, 10);
|
getFileReader("1234", 0, 10);
|
||||||
|
|
||||||
|
//Skip header (30 bytes + additional length)
|
||||||
|
|
||||||
|
//Initialise decryption (pass decryption keys)
|
||||||
|
|
||||||
|
//Skip 12-byte encryption header
|
||||||
|
|
||||||
|
//Decompress file
|
||||||
|
|
||||||
|
//Optionally perform xdelta3
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue