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

Method DecodeBuf

Libraries/unrar/recvol3.cpp:486–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484
485
486void RSEncode::DecodeBuf()
487{
488 for (int BufPos=BufStart;BufPos<BufEnd;BufPos++)
489 {
490 byte Data[256];
491 for (int I=0;I<FileNumber;I++)
492 Data[I]=Buf[I*RecBufferSize+BufPos];
493 RSC.Decode(Data,FileNumber,Erasures,EraSize);
494 for (int I=0;I<EraSize;I++)
495 Buf[Erasures[I]*RecBufferSize+BufPos]=Data[Erasures[I]];
496 }
497}
498
499
500void RecVolumes3::Test(RAROptions *Cmd,const wchar *Name)

Callers 2

THREAD_PROCFunction · 0.80
RestoreMethod · 0.80

Calls 1

DecodeMethod · 0.45

Tested by

no test coverage detected