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

NameTypeAccessDescription
sector_sizeintReadIs the size of a regular sector in bytes
mini_sector_sizeintRead
header_signaturebytesReadStores the 8‑byte CFB file signature
header_clsidbytesReadHolds the 16‑byte CLSID recorded in the header
minor_versionintRead
major_versionintRead
byte_orderintReadIs the byte‑order marker (typically 0xFFFE)
sector_shiftintReadIs the power‑of‑two shift used to compute sector size
mini_sector_shiftintReadIs the shift used to compute mini sector size
reservedbytesReadContains reserved bytes that must be zero
number_of_directory_sectorsintReadIs the count of directory sectors
number_of_fat_sectorsintReadIs the count of FAT sectors
first_directory_sector_locationSectorNumberReadGives the sector index of the first directory sector
transaction_signature_numberintReadStores the transaction signature for file consistency
mini_stream_cutoff_sizeintReadDefines the size threshold for mini streams
first_mini_fat_sector_locationSectorNumberReadIs the sector index of the first mini FAT sector
number_of_mini_fat_sectorsintRead
first_difat_sector_locationSectorNumberReadGives the sector index of the first DIFAT sector
number_of_difat_sectorsintReadIs the count of DIFAT sectors
difatList[SectorNumber]ReadIs a list of sector numbers that compose the DIFAT

See Also