|
libmobi
C library for handling MOBI format ebook documents
|
Header of the Record 0 meta-record. More...
#include <mobi.h>
Data Fields | |
| uint16_t | compression_type |
| uint32_t | text_length |
| uint16_t | text_record_count |
| uint16_t | text_record_size |
| uint16_t | encryption_type |
| uint16_t | unknown1 |
Header of the Record 0 meta-record.
| uint16_t MOBIRecord0Header::compression_type |
0; 1 == no compression, 2 = PalmDOC compression, 17480 = HUFF/CDIC compression
| uint16_t MOBIRecord0Header::encryption_type |
12; 0 == no encryption, 1 = Old Mobipocket Encryption, 2 = Mobipocket Encryption
| uint32_t MOBIRecord0Header::text_length |
4; uncompressed length of the entire text of the book
| uint16_t MOBIRecord0Header::text_record_count |
8; number of PDB records used for the text of the book
| uint16_t MOBIRecord0Header::text_record_size |
10; maximum size of each record containing text, always 4096
| uint16_t MOBIRecord0Header::unknown1 |
14; usually 0