Package lzma.sdk.lz

Class OutWindow


  • public class OutWindow
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OutWindow()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void copyBlock​(int distance, int len)  
      void create​(int windowSize)  
      void flush()  
      byte getByte​(int distance)  
      void init​(boolean solid)  
      void putByte​(byte b)  
      void releaseStream()  
      void setStream​(java.io.OutputStream stream)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _buffer

        private byte[] _buffer
      • _pos

        private int _pos
      • _windowSize

        private int _windowSize
      • _streamPos

        private int _streamPos
      • _stream

        private java.io.OutputStream _stream
    • Constructor Detail

      • OutWindow

        public OutWindow()
    • Method Detail

      • create

        public void create​(int windowSize)
      • setStream

        public void setStream​(java.io.OutputStream stream)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • releaseStream

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

        public void init​(boolean solid)
      • flush

        public void flush()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • copyBlock

        public void copyBlock​(int distance,
                              int len)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • putByte

        public void putByte​(byte b)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getByte

        public byte getByte​(int distance)