mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-06 06:11:45 +00:00
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; }
|
||
|
|
}
|
||
|
|
}
|