Discuss this help topic in SecureBlackbox Forum

TElBZip2Writer.OnCompressionStreamNeeded

TElBZip2Writer     See also     


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


This event is fired when TElBZip2Writer needs a stream for compressed data.

Declaration

[C#]
    event TSBBZip2CompressionStreamNeededEvent OnCompressionStreamNeeded;
    delegate void TSBBZip2CompressionStreamNeededEvent(Object Sender, ref System.IO.Stream Stream);

[VB.NET]
    Event OnCompressionStreamNeeded As TSBBZip2CompressionStreamNeededEvent
    Delegate Sub TSBBZip2CompressionStreamNeededEvent(ByVal Sender As Object, ByRef Stream As System.IO.Stream)

[Pascal]
    property OnCompressionStreamNeeded : TSBBZip2CompressionStreamNeededEvent;
    TSBBZip2CompressionStreamNeededEvent = procedure(Sender : TObject; var Stream : TStream) of object;

[C++]
    void get_OnCompressionStreamNeeded(TSBBZip2CompressionStreamNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCompressionStreamNeeded(TSBBZip2CompressionStreamNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBBZip2CompressionStreamNeededEvent)(void * _ObjectData, TObjectHandle Sender, TStreamHandle &Stream);

[PHP]
    TSBBZip2CompressionStreamNeededEvent|callable|NULL get_OnCompressionStreamNeeded()
    void set_OnCompressionStreamNeeded(TSBBZip2CompressionStreamNeededEvent|callable|NULL $Value)
    callable TSBBZip2CompressionStreamNeededEvent(TObject $Sender, TStream &$Stream)

[Java]
    TSBBZip2CompressionStreamNeededEvent getOnCompressionStreamNeeded();
    void setOnCompressionStreamNeeded(TSBBZip2CompressionStreamNeededEvent Value);
    TSBBZip2CompressionStreamNeededEvent.Callback OnCompressionStreamNeeded = new TSBBZip2CompressionStreamNeededEvent.Callback() {
        public TElStream TSBBZip2CompressionStreamNeededEventCallback(TObject Sender) {
            //...
        }
    }

Parameters

  • Stream - stream where the compressed data should be saved.

Description

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

See also:     Compress    

Discuss this help topic in SecureBlackbox Forum