Class RangeDecoder


  • public class RangeDecoder
    extends java.lang.Object
    RangeDecoder
    Author:
    Igor Pavlov
    • Constructor Detail

      • RangeDecoder

        public RangeDecoder()
    • Method Detail

      • releaseBuffer

        public final void releaseBuffer()
      • init

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

        public final boolean decodeDirectBits​(LZMADecoder.LZMAInputState decodeState,
                                              int numTotalBits)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • decodeBit

        public boolean decodeBit​(LZMADecoder.LZMAInputState decodeState,
                                 short[] probs,
                                 int index)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • initBitModels

        public static void initBitModels​(short[] probs)