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

Method UnpWriteData

Libraries/unrar/unpack50.cpp:515–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513
514
515void Unpack::UnpWriteData(byte *Data,size_t Size)
516{
517 if (WrittenFileSize>=DestUnpSize)
518 return;
519 size_t WriteSize=Size;
520 int64 LeftToWrite=DestUnpSize-WrittenFileSize;
521 if ((int64)WriteSize>LeftToWrite)
522 WriteSize=(size_t)LeftToWrite;
523 UnpIO->UnpWrite(Data,WriteSize);
524 WrittenFileSize+=Size;
525}
526
527
528void Unpack::UnpInitData50(bool Solid)

Callers

nothing calls this directly

Calls 1

UnpWriteMethod · 0.80

Tested by

no test coverage detected