Discuss this help topic in SecureBlackbox Forum

TElTarReader.OnExtractionStreamNeeded

TElTarReader     See also     


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


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

Declaration

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

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

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

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

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

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

Parameters

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

Description

    This event is fired by TElTarReader 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