Discuss this help topic in SecureBlackbox Forum

TElZipReader.OnExtractionStreamNeeded

TElZipReader     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when TElZipReader needs a stream for extracted data.

Declaration

[C#]
    event TSBZipExtractionStreamNeededEvent OnExtractionStreamNeeded;
    delegate void TSBZipExtractionStreamNeededEvent(Object Sender, TElZipArchiveDirectoryEntry Entry, ref System.IO.Stream Stream);

[VB.NET]
    Event OnExtractionStreamNeeded As TSBZipExtractionStreamNeededEvent
    Delegate Sub TSBZipExtractionStreamNeededEvent(ByVal Sender As Object, ByVal Entry As TElZipArchiveDirectoryEntry, ByRef Stream As System.IO.Stream)

[Pascal]
    property OnExtractionStreamNeeded : TSBZipExtractionStreamNeededEvent;
    TSBZipExtractionStreamNeededEvent = procedure(Sender: TObject; Entry : TElZipArchiveDirectoryEntry; var Stream : TStream) of object;

[C++]
    void get_OnExtractionStreamNeeded(TSBZipExtractionStreamNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnExtractionStreamNeeded(TSBZipExtractionStreamNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBZipExtractionStreamNeededEvent)(void * _ObjectData, TObjectHandle Sender, TElZipArchiveDirectoryEntryHandle Entry, TStreamHandle &Stream);

[PHP]
    TSBZipExtractionStreamNeededEvent|callable|NULL get_OnExtractionStreamNeeded()
    void set_OnExtractionStreamNeeded(TSBZipExtractionStreamNeededEvent|callable|NULL $Value)
    callable TSBZipExtractionStreamNeededEvent(TObject $Sender, TElZipArchiveDirectoryEntry $Entry, TStream &$Stream)

[Java]
    TSBZipExtractionStreamNeededEvent getOnExtractionStreamNeeded();
    void setOnExtractionStreamNeeded(TSBZipExtractionStreamNeededEvent Value);
    TSBZipExtractionStreamNeededEvent.Callback OnExtractionStreamNeeded = new TSBZipExtractionStreamNeededEvent.Callback() {
        public TElStream TSBZipExtractionStreamNeededEventCallback(TObject Sender, TElZipArchiveDirectoryEntry Entry) {
            //...
        }
    }

Parameters

  • Entry - archive entry to be extracted.
  • Stream - stream where the data should be extracted.

Description

    This event is fired by TElZipReader when a stream is required to extract the data. Reference to the stream should be passed via the Stream parameter.

See also:     OnExtractionMakeDirectory     OnProgress    

Discuss this help topic in SecureBlackbox Forum