RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / scripts / squashfs / lzma / CS / 7zip / Compress / LZ / IMatchFinder.cs
blob6710b15964f35e7f9df5605f30e6159fe08503de
1 // IMatchFinder.cs
3 using System;
5 namespace SevenZip.Compression.LZ
7 interface IInWindowStream
9 void Init(System.IO.Stream inStream);
10 void ReleaseStream();
11 void MovePos();
12 Byte GetIndexByte(Int32 index);
13 UInt32 GetMatchLen(Int32 index, UInt32 distance, UInt32 limit);
14 UInt32 GetNumAvailableBytes();
17 interface IMatchFinder : IInWindowStream
19 void Create(UInt32 historySize, UInt32 keepAddBufferBefore,
20 UInt32 matchMaxLen, UInt32 keepAddBufferAfter);
21 UInt32 GetLongestMatch(UInt32[] distances);
22 void DummyLongestMatch();