MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Unpack

Method Unpack

Libraries/unrar/unpack.cpp:18–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include "unpack50frag.cpp"
17
18Unpack::Unpack(ComprDataIO *DataIO)
19:Inp(true),VMCodeInp(true)
20{
21 UnpIO=DataIO;
22 Window=NULL;
23 Fragmented=false;
24 Suspended=false;
25 UnpAllBuf=false;
26 UnpSomeRead=false;
27#ifdef RAR_SMP
28 MaxUserThreads=1;
29 UnpThreadPool=NULL;
30 ReadBufMT=NULL;
31 UnpThreadData=NULL;
32#endif
33 MaxWinSize=0;
34 MaxWinMask=0;
35
36 // Perform initialization, which should be done only once for all files.
37 // It prevents crash if first DoUnpack call is later made with wrong
38 // (true) 'Solid' value.
39 UnpInitData(false);
40#ifndef SFX_MODULE
41 // RAR 1.5 decompression initialization
42 UnpInitData15(false);
43 InitHuff();
44#endif
45}
46
47
48Unpack::~Unpack()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected