Class MetadataEntry
A single CHD metadata entry: 16-byte header plus payload.
public class MetadataEntry
- Inheritance
-
MetadataEntry
- Inherited Members
Properties
Flags
The metadata flags byte (bit 0 = CHD_MDFLAGS_CHECKSUM).
public byte Flags { get; init; }
Property Value
NextOffset
File offset of the next entry in the linked list (0 = end of list).
public ulong NextOffset { get; set; }
Property Value
Payload
The entry payload (typically a null-terminated ASCII string).
public byte[] Payload { get; init; }
Property Value
- byte[]
Tag
The 4-character metadata tag (e.g. 'CHT2').
public uint Tag { get; init; }
Property Value
Methods
Serialize()
Serializes the entry as a 16-byte big-endian header followed by the payload.
public byte[] Serialize()
Returns
- byte[]