Module chd::header

source ·
Expand description

Types and methods relating to header data for a CHD file.

CHD V1-5 all have different header formats that are supported by this library. Common information can be accessed with the Header enum, but if version-specific information is needed, all fields in each version header struct can be accessed publicly.

Header makes no ABI guarantees and is not ABI-compatible with libchdr::chd_header.

Structs§

  • A CHD V1/V2 header. V1 and V2 headers share a similar format with the only difference being V1 having a fixed 512-byte sector length, and V2 having an arbitrary sector length.
  • A CHD V3 header.
  • A CHD V4 header. The major difference between a V3 header and V4 header is the absence of MD5 hash information in CHD V4.
  • A CHD V5 header.

Enums§

  • The types of compression codecs supported in a CHD file.
  • CHD flags for legacy V1-4 headers.
  • A CHD header of unspecified version.
  • The CHD header version.

Constants§