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

Method GetStartPos

Libraries/unrar/arcread.cpp:1408–1416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1406
1407
1408int64 Archive::GetStartPos()
1409{
1410 int64 StartPos=SFXSize+MarkHead.HeadSize;
1411 if (Format==RARFMT15)
1412 StartPos+=MainHead.HeadSize;
1413 else // RAR 5.0.
1414 StartPos+=CryptHead.HeadSize+FullHeaderSize(MainHead.HeadSize);
1415 return StartPos;
1416}
1417
1418
1419bool Archive::ReadSubData(Array<byte> *UnpData,File *DestFile,bool TestMode)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected