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

Method Init

Libraries/unrar/qopen.cpp:17–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17void QuickOpen::Init(Archive *Arc,bool WriteMode)
18{
19 if (Arc!=NULL) // Unless called from constructor.
20 Close();
21
22 QuickOpen::Arc=Arc;
23 QuickOpen::WriteMode=WriteMode;
24
25 ListStart=NULL;
26 ListEnd=NULL;
27
28 if (Buf==NULL)
29 Buf=new byte[MaxBufSize];
30
31 CurBufSize=0; // Current size of buffered data in write mode.
32
33 Loaded=false;
34}
35
36
37void QuickOpen::Close()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected