Discuss this help topic in SecureBlackbox Forum

TElZipReader.OnExtractionStreamNeeded

TElZipReader     See also     


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


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

Declaration

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

[VB.NET]
    Event OnExtractionStreamNeeded As TSBZipExtractionStreamNeededEvent
    Public 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)

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