32 lines
686 B
C#
32 lines
686 B
C#
|
namespace System.IO.Compression {
|
||
|
// This class represents a match in the history window
|
||
|
internal class Match {
|
||
|
private MatchState state;
|
||
|
private int pos;
|
||
|
private int len;
|
||
|
private byte symbol;
|
||
|
|
||
|
internal MatchState State {
|
||
|
get { return state; }
|
||
|
set { state = value; }
|
||
|
}
|
||
|
|
||
|
internal int Position {
|
||
|
get { return pos; }
|
||
|
set { pos = value; }
|
||
|
}
|
||
|
|
||
|
internal int Length {
|
||
|
get { return len; }
|
||
|
set { len = value; }
|
||
|
}
|
||
|
|
||
|
internal byte Symbol {
|
||
|
get { return symbol; }
|
||
|
set { symbol = value; }
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|