Datasnap.Win.SConnect.IDataIntercept.DataOut

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: IDataIntercept

Delphi

procedure DataOut(const Data: IDataBlock); stdcall;

C++

virtual void __stdcall DataOut(const _di_IDataBlock Data) = 0 ;

Description

Returns the value of the BytesReserved property.

Call DataOut to transform data before it is sent using a connection component. For example, use this method to encrypt or compress data.

The Data parameter is an IDataBlock interface to the data that is about to be sent by the socket connection component. Use the properties and methods of IDataBlock to transform the data.

Warning: Do not transform the reserved bytes in the data block.

See Also