namespace SabreTools.Models.PortableExecutable
{
///
/// The resource directory string area consists of Unicode strings, which
/// are word-aligned. These strings are stored together after the last
/// Resource Directory entry and before the first Resource Data entry.
/// This minimizes the impact of these variable-length strings on the
/// alignment of the fixed-size directory entries.
///
///
public sealed class ResourceDataEntry
{
///
/// The address of a unit of resource data in the Resource Data area.
///
public uint DataRVA { get; set; }
///
/// The size, in bytes, of the resource data that is pointed to by the
/// Data RVA field.
///
public uint Size { get; set; }
///
/// The resource data that is pointed to by the Data RVA field.
///
public byte[]? Data { get; set; }
///
/// The code page that is used to decode code point values within the
/// resource data. Typically, the code page would be the Unicode code page.
///
public uint Codepage { get; set; }
///
/// Reserved, must be 0.
///
public uint Reserved { get; set; }
}
}