Created
November 2, 2011 15:19
-
-
Save jledet/1333896 to your computer and use it in GitHub Desktop.
LZO header
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
/* | |
* All fields are big endian byte order. | |
* Magic: 9 bytes (0x89, 0x4c, 0x5a, 0x4f, 0x00, 0x0d, 0x0a, 0x1a, 0x0a) | |
* Version: 2 bytes | |
* Lib version: 2 bytes | |
* Version needed: 2 bytes | |
* Method: 1 byte | |
* Level: 1 byte | |
* Flags: 4 byte | |
* Filter: 4 bytes (only if flags & F_H_FILTER) | |
* Mode: 4 bytes | |
* Mtime: 4 bytes | |
* GMTdiff: 4 bytes | |
* File name length: 1 byte | |
* Name: 0-255 bytes | |
* Checksum, original data: 4 bytes (CRC32 if flags & F_H_CRC32 else Adler32) | |
* Uncompressed size: 4 bytes | |
* Compressed size: 4 bytes | |
* Checksum, uncompressed data: 4 bytes | |
* Checksum, compressed data: 4 bytes (only if flags & F_ADLER32_C or flags & F_CRC32_C) | |
* Compressed data: 0-xxx bytes | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can you check what compression format this code is in??
magic number is
22 4A 00 EF C6 5F 00 00 28 B5 2F FD 63 E7 55 43 0B C6 5E 3D 13 00 53 0C 2B 58 CC 0B C6 08 42 4C