Discuss this help topic in SecureBlackbox Forum

TElTarWriter.OnCompressionStart

TElTarWriter     See also     


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


This event is fired when TElTarWriter is starting to compress data.

Declaration

[C#]
    event TSBTarCompressionStartEvent OnCompressionStart;
    delegate void TSBTarCompressionStartEvent(Object Sender, TElTarArchiveDirectoryEntry Entry, ref bool Compress);

[VB.NET]
    Event OnCompressionStart As TSBTarCompressionStartEvent
    Delegate Sub TSBTarCompressionStartEvent(ByVal Sender As Object, ByVal Entry As TElTarArchiveDirectoryEntry, ByRef Compress As Boolean)

[Pascal]
    property OnCompressionStart : TSBTarCompressionStartEvent;
    TSBTarCompressionStartEvent = procedure(Sender : TObject; Entry : TElTarArchiveDirectoryEntry; var Compress : boolean) of object;

[C++]
    void get_OnCompressionStart(TSBTarCompressionStartEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCompressionStart(TSBTarCompressionStartEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBTarCompressionStartEvent)(void * _ObjectData, TObjectHandle Sender, TElTarArchiveDirectoryEntryHandle Entry, int8_t &Compress);

[PHP]
    TSBTarCompressionStartEvent|callable|NULL get_OnCompressionStart()
    void set_OnCompressionStart(TSBTarCompressionStartEvent|callable|NULL $Value)
    callable TSBTarCompressionStartEvent(TObject $Sender, TElTarArchiveDirectoryEntry $Entry, bool &$Compress)

[Java]
    TSBTarCompressionStartEvent getOnCompressionStart();
    void setOnCompressionStart(TSBTarCompressionStartEvent Value);
    TSBTarCompressionStartEvent.Callback OnCompressionStart = new TSBTarCompressionStartEvent.Callback() {
        public void TSBTarCompressionStartEventCallback(TObject Sender, TElTarArchiveDirectoryEntry Entry, TSBBoolean Compress) {
            //...
        }
    }

Parameters

  • Entry - archive entry to be compressed.
  • Compress - specifies whether the entry should be compressed.

Description

This event is fired by TElTarWriter when it attempts to compress an archive entry.

See also:     OnCompressionFinished    

Discuss this help topic in SecureBlackbox Forum