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
34 lines
1020 B
C#
34 lines
1020 B
C#
namespace SabreTools.Data.Models.ZArchive
|
|
{
|
|
/// <summary>
|
|
/// Node in the FileTree representing a file
|
|
/// </summary>
|
|
/// <see href="https://github.com/Exzap/ZArchive/"/>
|
|
public sealed class FileEntry : FileDirectoryEntry
|
|
{
|
|
/// <summary>
|
|
/// Lowest 8 bits of the file's offset
|
|
/// </summary>
|
|
/// <remarks>Big-endian</remarks>
|
|
public uint FileOffsetLow { get; set; }
|
|
|
|
/// <summary>
|
|
/// Lowest 8 bits of the file's size
|
|
/// </summary>
|
|
/// <remarks>Big-endian</remarks>
|
|
public uint FileSizeLow { get; set; }
|
|
|
|
/// <summary>
|
|
/// Highest 4 bits of the file's size
|
|
/// </summary>
|
|
/// <remarks>Big-endian</remarks>
|
|
public ushort FileSizeHigh { get; set; }
|
|
|
|
/// <summary>
|
|
/// Highest 4 bits of the file's offset
|
|
/// </summary>
|
|
/// <remarks>Big-endian</remarks>
|
|
public ushort FileOffsetHigh { get; set; }
|
|
}
|
|
}
|