Package com.github.junrar.unpack
Class Unpack15
- java.lang.Object
-
- com.github.junrar.unpack.vm.BitInput
-
- com.github.junrar.unpack.Unpack15
-
-
Field Summary
Fields Modifier and Type Field Description protected intAvrLn1protected intAvrLn2protected intAvrLn3protected intAvrPlcprotected intAvrPlcBprotected intBuf60protected int[]ChSetprotected int[]ChSetAprotected int[]ChSetBprotected int[]ChSetCprivate static int[]DecHf0private static int[]DecHf1private static int[]DecHf2private static int[]DecHf3private static int[]DecHf4private static int[]DecL1private static int[]DecL2protected longdestUnpSizeprotected intFlagBufprotected intFlagsCntprotected intlastDistprotected intlastLengthprotected intLCountprotected intMaxDist3protected intNhfbprotected intNlzbprotected int[]NToPlprotected int[]NToPlBprotected int[]NToPlCprotected intNumHufprotected int[]oldDistprotected intoldDistPtrprotected int[]Placeprotected int[]PlaceAprotected int[]PlaceBprotected int[]PlaceCprivate static int[]PosHf0private static int[]PosHf1private static int[]PosHf2private static int[]PosHf3private static int[]PosHf4private static int[]PosL1private static int[]PosL2protected intreadBorderprotected intreadTop(package private) static int[]ShortLen1(package private) static int[]ShortLen2(package private) static int[]ShortXor1(package private) static int[]ShortXor2private static intSTARTHF0private static intSTARTHF1private static intSTARTHF2private static intSTARTHF3private static intSTARTHF4private static intSTARTL1private static intSTARTL2protected intStModeprotected booleansuspendedprotected booleanunpAllBufprotected ComprDataIOunpIOprotected intunpPtrprotected booleanunpSomeReadprotected byte[]windowprotected intwrPtr
-
Constructor Summary
Constructors Constructor Description Unpack15()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcorrHuff(int[] CharSet, int[] NumToPlace)protected intdecodeNum(int Num, int StartPos, int[] DecTab, int[] PosTab)protected voidgetFlagsBuf()private intgetShortLen1(int pos)private intgetShortLen2(int pos)protected voidhuffDecode()protected voidinitHuff()protected voidlongLZ()protected voidoldCopyString(int distance, int length)protected voidoldUnpInitData(boolean Solid)protected voidoldUnpWriteBuf()protected voidshortLZ()protected voidunpack15(boolean solid)protected abstract voidunpInitData(boolean solid)protected booleanunpReadBuf()
-
-
-
Field Detail
-
readBorder
protected int readBorder
-
suspended
protected boolean suspended
-
unpAllBuf
protected boolean unpAllBuf
-
unpIO
protected ComprDataIO unpIO
-
unpSomeRead
protected boolean unpSomeRead
-
readTop
protected int readTop
-
destUnpSize
protected long destUnpSize
-
window
protected byte[] window
-
oldDist
protected int[] oldDist
-
unpPtr
protected int unpPtr
-
wrPtr
protected int wrPtr
-
oldDistPtr
protected int oldDistPtr
-
ChSet
protected int[] ChSet
-
ChSetA
protected int[] ChSetA
-
ChSetB
protected int[] ChSetB
-
ChSetC
protected int[] ChSetC
-
Place
protected int[] Place
-
PlaceA
protected int[] PlaceA
-
PlaceB
protected int[] PlaceB
-
PlaceC
protected int[] PlaceC
-
NToPl
protected int[] NToPl
-
NToPlB
protected int[] NToPlB
-
NToPlC
protected int[] NToPlC
-
FlagBuf
protected int FlagBuf
-
AvrPlc
protected int AvrPlc
-
AvrPlcB
protected int AvrPlcB
-
AvrLn1
protected int AvrLn1
-
AvrLn2
protected int AvrLn2
-
AvrLn3
protected int AvrLn3
-
Buf60
protected int Buf60
-
NumHuf
protected int NumHuf
-
StMode
protected int StMode
-
LCount
protected int LCount
-
FlagsCnt
protected int FlagsCnt
-
Nhfb
protected int Nhfb
-
Nlzb
protected int Nlzb
-
MaxDist3
protected int MaxDist3
-
lastDist
protected int lastDist
-
lastLength
protected int lastLength
-
STARTL1
private static final int STARTL1
- See Also:
- Constant Field Values
-
DecL1
private static final int[] DecL1
-
PosL1
private static final int[] PosL1
-
STARTL2
private static final int STARTL2
- See Also:
- Constant Field Values
-
DecL2
private static final int[] DecL2
-
PosL2
private static final int[] PosL2
-
STARTHF0
private static final int STARTHF0
- See Also:
- Constant Field Values
-
DecHf0
private static final int[] DecHf0
-
PosHf0
private static final int[] PosHf0
-
STARTHF1
private static final int STARTHF1
- See Also:
- Constant Field Values
-
DecHf1
private static final int[] DecHf1
-
PosHf1
private static final int[] PosHf1
-
STARTHF2
private static final int STARTHF2
- See Also:
- Constant Field Values
-
DecHf2
private static final int[] DecHf2
-
PosHf2
private static final int[] PosHf2
-
STARTHF3
private static final int STARTHF3
- See Also:
- Constant Field Values
-
DecHf3
private static final int[] DecHf3
-
PosHf3
private static final int[] PosHf3
-
STARTHF4
private static final int STARTHF4
- See Also:
- Constant Field Values
-
DecHf4
private static final int[] DecHf4
-
PosHf4
private static final int[] PosHf4
-
ShortLen1
static int[] ShortLen1
-
ShortXor1
static int[] ShortXor1
-
ShortLen2
static int[] ShortLen2
-
ShortXor2
static int[] ShortXor2
-
-
Method Detail
-
unpInitData
protected abstract void unpInitData(boolean solid)
-
unpack15
protected void unpack15(boolean solid) throws java.io.IOException, RarException- Throws:
java.io.IOExceptionRarException
-
unpReadBuf
protected boolean unpReadBuf() throws java.io.IOException, RarException- Throws:
java.io.IOExceptionRarException
-
getShortLen1
private int getShortLen1(int pos)
-
getShortLen2
private int getShortLen2(int pos)
-
shortLZ
protected void shortLZ()
-
longLZ
protected void longLZ()
-
huffDecode
protected void huffDecode()
-
getFlagsBuf
protected void getFlagsBuf()
-
oldUnpInitData
protected void oldUnpInitData(boolean Solid)
-
initHuff
protected void initHuff()
-
corrHuff
protected void corrHuff(int[] CharSet, int[] NumToPlace)
-
oldCopyString
protected void oldCopyString(int distance, int length)
-
decodeNum
protected int decodeNum(int Num, int StartPos, int[] DecTab, int[] PosTab)
-
oldUnpWriteBuf
protected void oldUnpWriteBuf() throws java.io.IOException- Throws:
java.io.IOException
-
-