mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-08 07:13:01 +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.
24 lines
909 B
C#
24 lines
909 B
C#
namespace SabreTools.Data.Models.NewExecutable
|
|
{
|
|
/// <summary>
|
|
/// Resource type and name strings are stored at the end of the
|
|
/// resource table. Note that these strings are NOT null terminated and
|
|
/// are case sensitive.
|
|
/// </summary>
|
|
/// <see href="https://web.archive.org/web/20240422070115/http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
|
|
public sealed class ResourceTypeAndNameString
|
|
{
|
|
/// <summary>
|
|
/// Length of the type or name string that follows. A zero value
|
|
/// indicates the end of the resource type and name string, also
|
|
/// the end of the resource table.
|
|
/// </summary>
|
|
public byte Length { get; set; } // TODO: Remove in lieu of AnsiBStr
|
|
|
|
/// <summary>
|
|
/// ASCII text of the type or name string.
|
|
/// </summary>
|
|
public byte[] Text { get; set; } = [];
|
|
}
|
|
}
|