2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.OLE
|
2025-09-26 11:57:18 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The Dictionary packet represents all mappings between property identifiers and
|
|
|
|
|
/// property names in a property set
|
|
|
|
|
/// </summary>
|
2025-10-30 22:52:56 -04:00
|
|
|
/// <see href="https://winprotocoldoc.z19.web.core.windows.net/MS-OLEPS/%5bMS-OLEPS%5d.pdf"/>
|
2025-09-26 11:57:18 -04:00
|
|
|
public class Dictionary
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// n unsigned integer representing the number of entries in the Dictionary
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint NumEntries { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// All Entry fields MUST be a sequence of DictionaryEntry packets. Entries are
|
|
|
|
|
/// not required to appear in any particular order.
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public DictionaryEntry[] Entries { get; set; } = [];
|
2025-09-26 11:57:18 -04:00
|
|
|
|
|
|
|
|
// Padding (variable): Padding, if necessary, to a total length that is a multiple of 4 bytes.
|
|
|
|
|
// Padding would be after each dictionary entry
|
|
|
|
|
}
|
|
|
|
|
}
|