mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
* ZArchive support * Fix offset record format * Simplfiy Extensions * Delete unused writers and test data * Rework reader * Fix build
21 lines
644 B
C#
21 lines
644 B
C#
namespace SabreTools.Data.Models.ZArchive
|
|
{
|
|
/// <summary>
|
|
/// UTF-8 strings, prepended by string lengths
|
|
/// </summary>
|
|
/// <see href="https://github.com/Exzap/ZArchive/"/>
|
|
public class NameTable
|
|
{
|
|
/// <summary>
|
|
/// List of filename entries
|
|
/// </summary>
|
|
public NameEntry[] NameEntries { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Virtual field, to cache the offsets of each name entry in the name table
|
|
/// Used for referencing the name entry from an offset into the name table
|
|
/// </summary>
|
|
public uint[] NameTableOffsets { get; set; } = [];
|
|
}
|
|
}
|