hi
how i can uncompress , Compressed file from buff to mem and extract to harddisk?
i need an example
thanks ;
UnCompress Buffer
Something like this (not tested):
Code: Select all
procedure Whatever(compressedDataStr: AnsiString);
var uncompr : AnsiString;
begin
uncompr := Uncompress(compressedDataStr);
with TFileStream.Create(...) do begin
WriteBuffer(PAnsiChar(uncompr)^, Length(uncompr));
Free;
end;
end;