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

Method CopyString20

Libraries/unrar/unpack20.cpp:3–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "rar.hpp"
2
3void Unpack::CopyString20(uint Length,uint Distance)
4{
5 LastDist=OldDist[OldDistPtr++]=Distance;
6 OldDistPtr = OldDistPtr & 3; // Needed if RAR 1.5 file is called after RAR 2.0.
7 LastLength=Length;
8 DestUnpSize-=Length;
9 CopyString(Length,Distance);
10}
11
12
13void Unpack::Unpack20(bool Solid)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected