Files
BinaryObjectScanner/BinaryObjectScanner.Models/Quantum/FileDescriptor.cs

50 lines
1.3 KiB
C#
Raw Normal View History

2023-03-07 16:59:14 -05:00
namespace BinaryObjectScanner.Models.Quantum
2022-12-16 10:19:32 -08:00
{
/// <summary>
/// Quantum archive file descriptor
/// </summary>
/// <see href="https://handwiki.org/wiki/Software:Quantum_compression"/>
2022-12-16 10:19:32 -08:00
public class FileDescriptor
{
/// <summary>
/// Length of file name
/// </summary>
public int FileNameSize;
2022-12-16 10:19:32 -08:00
/// <summary>
/// File name, variable length string, not zero-terminated
/// </summary>
public string FileName;
/// <summary>
/// Length of comment field
/// </summary>
public int CommentFieldSize;
2022-12-16 10:19:32 -08:00
/// <summary>
/// Comment field, variable length string, not zero-terminated
/// </summary>
public string CommentField;
/// <summary>
/// Fully expanded file size in bytes
/// </summary>
public uint ExpandedFileSize;
/// <summary>
/// File time (DOS format)
/// </summary>
public ushort FileTime;
/// <summary>
/// File date (DOS format)
/// </summary>
public ushort FileDate;
2023-01-03 10:59:41 -08:00
/// <summary>
/// Unknown data, Checksum?
/// </summary>
/// <remarks>Minor version 22</remarks>
public ushort? Unknown;
2022-12-16 10:19:32 -08:00
}
}