Header
Overview
Header is a class in Aspose.Email FOSS for Python.
Header record at file offset 0 defining Compound File Binary (CFB) geometry and allocation chain entry points.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
sector_size | int | Read | Is the size of a regular sector in bytes |
mini_sector_size | int | Read | |
header_signature | bytes | Read | Stores the 8‑byte CFB file signature |
header_clsid | bytes | Read | Holds the 16‑byte CLSID recorded in the header |
minor_version | int | Read | |
major_version | int | Read | |
byte_order | int | Read | Is the byte‑order marker (typically 0xFFFE) |
sector_shift | int | Read | Is the power‑of‑two shift used to compute sector size |
mini_sector_shift | int | Read | Is the shift used to compute mini sector size |
reserved | bytes | Read | Contains reserved bytes that must be zero |
number_of_directory_sectors | int | Read | Is the count of directory sectors |
number_of_fat_sectors | int | Read | Is the count of FAT sectors |
first_directory_sector_location | SectorNumber | Read | Gives the sector index of the first directory sector |
transaction_signature_number | int | Read | Stores the transaction signature for file consistency |
mini_stream_cutoff_size | int | Read | Defines the size threshold for mini streams |
first_mini_fat_sector_location | SectorNumber | Read | Is the sector index of the first mini FAT sector |
number_of_mini_fat_sectors | int | Read | |
first_difat_sector_location | SectorNumber | Read | Gives the sector index of the first DIFAT sector |
number_of_difat_sectors | int | Read | Is the count of DIFAT sectors |
difat | List[SectorNumber] | Read | Is a list of sector numbers that compose the DIFAT |