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
18 lines
539 B
C#
18 lines
539 B
C#
namespace SabreTools.Data.Models.ZArchive
|
|
{
|
|
/// <summary>
|
|
/// Node in the FileTree
|
|
/// Represents either a file or a directory
|
|
/// </summary>
|
|
/// <see href="https://github.com/Exzap/ZArchive/"/>
|
|
public abstract class FileDirectoryEntry
|
|
{
|
|
/// <summary>
|
|
/// MSB is the type flag, 0 is Directory, 1 is File
|
|
/// Remaining 31 bits are the offset in the NameTable
|
|
/// </summary>
|
|
/// <remarks>Big-endian</remarks>
|
|
public uint NameOffsetAndTypeFlag { get; set; }
|
|
}
|
|
}
|