Structure
The CFBF file consists of a 512-Byte header record followed by a number of sectors whose size is defined in the header. The literature defines Sectors to be either 512 or 4096 bytes in length, although the format is potentially capable of supporting sectors ranging in size from 128-Bytes upwards in powers of 2 (128, 256, 512, 1024, etc.). The lower limit of 128 is the minimum required to fit a single directory entry in a Directory Sector.
There are several types of sector that may be present in a CFBF:
- File Allocation Table (FAT) Sector - contains chains of sector indices much as a FAT does in the FAT/FAT32 filesystems
- MiniFAT Sectors - similar to the FAT but storing chains of mini-sectors within the Mini-Stream
- Double-Indirect FAT (DIFAT) Sector - contains chains of FAT sector indices
- Directory Sector - contains directory entries
- Stream Sector - contains arbitrary file data
- Range Lock Sector - contains the byte-range locking area of a large file
More detail is given below for the header and each sector type.
Read more about this topic: Compound File Binary Format
Famous quotes containing the word structure:
“... the structure of our public morality crashed to earth. Above its grave a tombstone read, Be toleranteven of evil. Logically the next step would be to say to our commonwealths criminals, I disagree that its all right to rob and murder, but naturally I respect your opinion. Tolerance is only complacence when it makes no distinction between right and wrong.”
—Sarah Patton Boyle, U.S. civil rights activist and author. The Desegregated Heart, part 2, ch. 2 (1962)
“I really do inhabit a system in which words are capable of shaking the entire structure of government, where words can prove mightier than ten military divisions.”
—Václav Havel (b. 1936)
“Science is intimately integrated with the whole social structure and cultural tradition. They mutually support one otheronly in certain types of society can science flourish, and conversely without a continuous and healthy development and application of science such a society cannot function properly.”
—Talcott Parsons (19021979)