mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
25 lines
652 B
C#
25 lines
652 B
C#
namespace SabreTools.Data.Models.SecuROM
|
|
{
|
|
/// <summary>
|
|
/// Represents a single key-length-value tuple in a
|
|
/// SecuROM DFA file
|
|
/// </summary>
|
|
public class DFAEntry
|
|
{
|
|
/// <summary>
|
|
/// Entry name, always 4 ASCII characters
|
|
/// </summary>
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Length of the value in bytes
|
|
/// </summary>
|
|
public uint Length { get; set; }
|
|
|
|
/// <summary>
|
|
/// Value of the entry whose length is given by <see cref="Length"/>
|
|
/// </summary>
|
|
public byte[] Value { get; set; } = [];
|
|
}
|
|
}
|