Discuss this help topic in SecureBlackbox Forum

TElTarWriter.OnCompressionTarToGZipStart

TElTarWriter     See also     


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


This event is fired when gzip compression is about to start.

Declaration

[C#]
    event TSBTarCompressionTarToGZipStartEvent OnCompressionTarToGZipStart;
    delegate void TSBTarCompressionTarToGZipStartEvent(Object Sender, ref bool Compress);

[VB.NET]
    Event OnCompressionTarToGZipStart As TSBTarCompressionTarToGZipStartEvent
    Delegate Sub TSBTarCompressionTarToGZipStartEvent(ByVal Sender As Object, ByRef Compress As Boolean)

[Pascal]
    property OnCompressionTarToGZipStart : TSBTarCompressionTarToGZipStartEvent;
    TSBTarCompressionTarToGZipStartEvent = procedure(Sender : TObject; var Compress : boolean) of object;

[C++]
    void get_OnCompressionTarToGZipStart(TSBTarCompressionTarToGZipStartEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCompressionTarToGZipStart(TSBTarCompressionTarToGZipStartEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBTarCompressionTarToGZipStartEvent)(void * _ObjectData, TObjectHandle Sender, int8_t &Compress);

[PHP]
    TSBTarCompressionTarToGZipStartEvent|callable|NULL get_OnCompressionTarToGZipStart()
    void set_OnCompressionTarToGZipStart(TSBTarCompressionTarToGZipStartEvent|callable|NULL $Value)
    callable TSBTarCompressionTarToGZipStartEvent(TObject $Sender, bool &$Compress)

[Java]
    TSBTarCompressionTarToGZipStartEvent getOnCompressionTarToGZipStart();
    void setOnCompressionTarToGZipStart(TSBTarCompressionTarToGZipStartEvent Value);
    TSBTarCompressionTarToGZipStartEvent.Callback OnCompressionTarToGZipStart = new TSBTarCompressionTarToGZipStartEvent.Callback() {
        public void TSBTarCompressionTarToGZipStartEventCallback(TObject Sender, TSBBoolean Compress) {
            //...
        }
    }

Parameters

  • Compress - set this parameter to true to proceed with compression, and to false otherwise.

Description

This event is fired by TElTarWriter before it starts gzip compression.

See also:     OnCompressionTarToGZipFinished    

Discuss this help topic in SecureBlackbox Forum