Class ChdHeader

Namespace
CHDSharp.Models
Assembly
CHDSharpLib.dll

Represents the fully parsed header of a CHD file including compression codecs, block map, checksums, and metadata offsets.

public class ChdHeader
Inheritance
ChdHeader
Inherited Members

Fields

Blocksize

The size of each hunk (block) in bytes.

public uint Blocksize

Field Value

uint

Compression

The array of compression codecs used by this CHD (up to 4 slots in V5). Populated by the header parsers.

public ChdCodec[] Compression

Field Value

ChdCodec[]

Map

The parsed array of map entries describing each hunk's compression type, offset, and length.

public MapEntry[] Map

Field Value

MapEntry[]

Totalblocks

The total number of hunks in the image.

public uint Totalblocks

Field Value

uint