using System.IO; namespace BurnOutSharp.Models.Compression.LZ { public sealed class State { /// /// The real filedescriptor /// public Stream RealFD { get; set; } /// /// The last char of the filename /// public char LastChar { get; set; } /// /// The decompressed length of the file /// public uint RealLength { get; set; } /// /// The position the decompressor currently is /// public uint RealCurrent { get; set; } /// /// The position the user wants to read from /// public uint RealWanted { get; set; } /// /// The rotating LZ table /// public byte[] Table { get; set; } /// /// CURrent TABle ENTry /// public uint CurTabEnt { get; set; } /// /// Length and position of current string /// public byte StringLen { get; set; } /// /// From stringtable /// public uint StringPos { get; set; } /// /// Bitmask within blocks /// public ushort ByteType { get; set; } /// /// GETLEN bytes /// public byte[] Get { get; set; } /// /// Current read /// public uint GetCur { get; set; } /// /// Length last got /// public uint GetLen { get; set; } } }