Datasnap.Win.SConnect.IDataBlock.InitData
Delphi
function InitData(Data: Pointer; DataLen: Integer; CheckLen: Boolean): Integer; stdcall;
C++
virtual int __stdcall InitData(void * Data, int DataLen, bool CheckLen) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | IDataBlock |
Description
Adds data to the data block.
Data is the data to be added to the data block. It must include a valid signature or InitData raises an exception.
DataLen is the number of bytes referenced by Data.
CheckLen specifies whether InitData should verify that the signature indicates the same amount of data as is indicated by the DataLen parameter.