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

Method CopyString15

Libraries/unrar/unpack15.cpp:471–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469
470
471void Unpack::CopyString15(uint Distance,uint Length)
472{
473 DestUnpSize-=Length;
474 while (Length--)
475 {
476 Window[UnpPtr]=Window[(UnpPtr-Distance) & MaxWinMask];
477 UnpPtr=(UnpPtr+1) & MaxWinMask;
478 }
479}
480
481
482uint Unpack::DecodeNum(uint Num,uint StartPos,uint *DecTab,uint *PosTab)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected