namespace BurnOutSharp.Models.Compression.Quantum
{
///
/// Strings are prefixed with their length. If the length is less than
/// 128 then it is stored directly in one byte. If it is greater than 127
/// then the high bit of the first byte is set to 1 and the remaining
/// fifteen bits contain the actual length in big-endian format.
///
public class FileDescriptor
{
///
/// File name, variable length string, not zero-terminated
///
public string FileName;
///
/// Comment field, variable length string, not zero-terminated
///
public string CommentField;
///
/// Fully expanded file size in bytes
///
public uint ExpandedFileSize;
///
/// File time (DOS format)
///
public ushort FileTime;
///
/// File date (DOS format)
///
public ushort FileDate;
}
}