libaaruformat 1.0 Aaru Data Preservation Suite - Format Library

Loading...
Searching...
No Matches
IndexHeader2 Struct Reference

Index header (version 2) with 64‑bit entry counter (identifier == IndexBlock2). More...

`#include <aaruformat/structs/index.h>`

## Data Fields
uint32_t | identifier
| Block identifier (must be BlockType::IndexBlock2).
uint64_t | entries
| Number of IndexEntry records that follow immediately.
uint64_t | crc64
| CRC64-ECMA of the entries array (legacy byte-swapped rule still applies for old versions).

## Detailed Description

Index header (version 2) with 64‑bit entry counter (identifier == IndexBlock2).

Enlarges the entry count field to 64 bits for large images; otherwise structurally identical to v1.

Definition at line 78 of file index.h.

## Field Documentation

## ◆ crc64

uint64_t IndexHeader2::crc64

CRC64-ECMA of the entries array (legacy byte-swapped rule still applies for old versions).

Definition at line 82 of file index.h.

Referenced by verify_index_v2().

## ◆ entries

uint64_t IndexHeader2::entries

Number of IndexEntry records that follow immediately.

Definition at line 81 of file index.h.

Referenced by process_index_v2(), and verify_index_v2().

## ◆ identifier

uint32_t IndexHeader2::identifier

Block identifier (must be BlockType::IndexBlock2).

Definition at line 80 of file index.h.

Referenced by process_index_v2(), and verify_index_v2().

The documentation for this struct was generated from the following file:

- include/aaruformat/structs/index.h