System.Zip.TCreateCustomStreamCallBack
Delphi
TCreateCustomStreamCallBack = reference to function(const InStream: TStream; const ZipFile: TZipFile; const Item: TZipHeader; IsEncrypted: Boolean): TStream;
C++
__interface TCreateCustomStreamCallBack : public System::IInterface
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
anonMethod class |
public | System.Zip.pas System.Zip.hpp |
System.Zip | System.Zip |
Description
Callback that allows you to create a custom stream based on the original stream.
For example, CreateDecompressStreamCallBack callback is of type TCreateCustomStreamCallBack and occurs before a file inside a zip file is decompressed, allowing access to the raw stream for decrypt purposes.