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

Method UnpWriteBuf20

Libraries/unrar/unpack20.cpp:150–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149
150void Unpack::UnpWriteBuf20()
151{
152 if (UnpPtr!=WrPtr)
153 UnpSomeRead=true;
154 if (UnpPtr<WrPtr)
155 {
156 UnpIO->UnpWrite(&Window[WrPtr],-(int)WrPtr & MaxWinMask);
157 UnpIO->UnpWrite(Window,UnpPtr);
158 UnpAllBuf=true;
159 }
160 else
161 UnpIO->UnpWrite(&Window[WrPtr],UnpPtr-WrPtr);
162 WrPtr=UnpPtr;
163}
164
165
166bool Unpack::ReadTables20()

Callers

nothing calls this directly

Calls 1

UnpWriteMethod · 0.80

Tested by

no test coverage detected