Class InWindow

  • Direct Known Subclasses:
    BinTree

    public class InWindow
    extends Object
    • Field Detail

      • _bufferBase

        public byte[] _bufferBase
      • _bufferOffset

        public int _bufferOffset
      • _blockSize

        public int _blockSize
      • _pos

        public int _pos
      • _streamPos

        public int _streamPos
    • Constructor Detail

      • InWindow

        public InWindow()
    • Method Detail

      • MoveBlock

        public void MoveBlock()
      • Create

        public void Create​(int keepSizeBefore,
                           int keepSizeAfter,
                           int keepSizeReserv)
      • SetStream

        public void SetStream​(InputStream stream)
      • ReleaseStream

        public void ReleaseStream()
      • GetIndexByte

        public byte GetIndexByte​(int index)
      • GetMatchLen

        public int GetMatchLen​(int index,
                               int distance,
                               int limit)
      • GetNumAvailableBytes

        public int GetNumAvailableBytes()
      • ReduceOffsets

        public void ReduceOffsets​(int subValue)