Class RangeCoder
java.lang.Object
com.github.junrar.unpack.ppm.RangeCoder
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate longprivate longprivate longprivate final RangeCoder.SubRangestatic final intprivate static final longprivate Unpack -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddecode()private intgetChar()intlonggetCurrentShiftCount(int SHIFT) voidinitDecoder(Unpack unpackRead) toString()
-
Field Details
-
TOP
public static final int TOP- See Also:
-
BOT
public static final int BOT- See Also:
-
uintMask
private static final long uintMask- See Also:
-
low
private long low -
code
private long code -
range
private long range -
subRange
-
unpackRead
-
-
Constructor Details
-
RangeCoder
public RangeCoder()
-
-
Method Details
-
getSubRange
-
initDecoder
- Throws:
IOExceptionRarException
-
getCurrentCount
public int getCurrentCount() -
getCurrentShiftCount
public long getCurrentShiftCount(int SHIFT) -
decode
public void decode() -
getChar
- Throws:
IOExceptionRarException
-
ariDecNormalize
- Throws:
IOExceptionRarException
-
toString
-