header

Overview

header is a struct in Aspose.Email FOSS for C++.

Properties

NameTypeAccessDescription
header_signaturestd::array<std::uint8_t, 8>Read/WriteHolds the 8‑byte CFB file signature
header_clsidstd::array<std::uint8_t, 16>Read/WriteHolds the 16‑byte CLSID of the storage
minor_versionstd::uint16_tRead/WriteStores the minor version of the CFB format
major_versionstd::uint16_tRead/WriteStores the major version of the CFB format
byte_orderstd::uint16_tRead/WriteStores the byte order marker (typically 0xFFFE)
sector_shiftstd::uint16_tRead/WriteStores the power‑of‑two shift to compute sector size
mini_sector_shiftstd::uint16_tRead/WriteStores the shift to compute mini sector size
reservedstd::array<std::uint8_t, 6>Read/WriteContains six reserved bytes
number_of_directory_sectorsstd::uint32_tRead/WriteStores count of directory sectors
number_of_fat_sectorsstd::uint32_tRead/WriteStores count of FAT sectors
first_directory_sector_locationstd::uint32_tRead/WriteStores the index of the first directory sector
transaction_signature_numberstd::uint32_tRead/WriteStores the transaction signature number
mini_stream_cutoff_sizestd::uint32_tRead/WriteStores the cutoff size for mini streams
first_mini_fat_sector_locationstd::uint32_tRead/WriteStores the index of the first mini FAT sector
number_of_mini_fat_sectorsstd::uint32_tRead/WriteStores count of mini FAT sectors
first_difat_sector_locationstd::uint32_tRead/WriteStores the index of the first DIFAT sector
number_of_difat_sectorsstd::uint32_tRead/WriteStores count of DIFAT sectors
difatstd::vector<std::uint32_t>Read/WriteHolds the DIFAT sector chain as a vector of sector indices

Methods

SignatureDescription
sector_size()std::size_tReturns the size of a regular sector in bytes
mini_sector_size()std::size_tReturns the size of a mini sector in bytes

See Also