Class InWindow

  • Direct Known Subclasses:
    BinTree

    public class InWindow
    extends java.lang.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()
      • ReadBlock

        public void ReadBlock()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • Create

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

        public void SetStream​(java.io.InputStream stream)
      • ReleaseStream

        public void ReleaseStream()
      • 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)