UnRAR: Allow unpack directly from memory (no files)
This commit is contained in:
Vendored
+7
@@ -326,3 +326,10 @@ void ComprDataIO::SetUnpackToMemory(byte *Addr,uint Size)
|
||||
UnpackToMemoryAddr=Addr;
|
||||
UnpackToMemorySize=Size;
|
||||
}
|
||||
|
||||
void ComprDataIO::SetUnpackFromMemory(byte *Addr,uint Size)
|
||||
{
|
||||
UnpackFromMemory=true;
|
||||
UnpackFromMemoryAddr=Addr;
|
||||
UnpackFromMemorySize=Size;
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -74,6 +74,7 @@ class ComprDataIO
|
||||
void SetAV15Encryption();
|
||||
void SetCmt13Encryption();
|
||||
void SetUnpackToMemory(byte *Addr,uint Size);
|
||||
void SetUnpackFromMemory(byte *Addr,uint Size);
|
||||
void SetCurrentCommand(wchar Cmd) {CurrentCommand=Cmd;}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user