Class InWindow

  • Direct Known Subclasses:
    BinTree

    public class InWindow
    extends java.lang.Object
    InWindow
    Author:
    Igor Pavlov
    • 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()
      • readBlock

        public void readBlock()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • create

        public void create​(int keepSizeBefore,
                           int keepSizeAfter,
                           int keepSizeReserv)
      • setBuffer

        public void setBuffer​(Buffer buffer)
      • releaseBuffer

        public void releaseBuffer()
      • init

        public void init()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • movePos

        public void movePos()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • 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)