Discuss this help topic in SecureBlackbox Forum

TElCustomDataStorage.WriteBlock

TElCustomDataStorage     See also     


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


Writes data block to the storage.

Declaration

[C#]
    void WriteBlock(TElCustomDataStorageObject Obj, System.IO.Stream Strm, TElCustomDataStorageSecurityHandler Handler, long Offset, ref long Written);

[VB.NET]
    Sub WriteBlock(ByVal Obj As TElCustomDataStorageObject, ByVal Strm As System.IO.Stream, ByVal Handler As TElCustomDataStorageSecurityHandler, ByVal Offset As Long, ByRef Written As Long)

[Pascal]
    procedure WriteBlock(var Obj : TElCustomDataStorageObject; Strm : TStream; Handler : TElCustomDataStorageSecurityHandler; Offset, Size : Int64; var Written : Int64);

[C++]
    void WriteBlock(TElCustomDataStorageObject &Obj, TStream &Strm, TElCustomDataStorageSecurityHandler &Handler, int64_t Offset, int64_t &Written);
    void WriteBlock(TElCustomDataStorageObject *Obj, TStream *Strm, TElCustomDataStorageSecurityHandler *Handler, int64_t Offset, int64_t &Written);

[PHP]
    void WriteBlock(TElCustomDataStorageObject $Obj, TStream $Strm, TElCustomDataStorageSecurityHandler $Handler, integer $Offset, integer &$Written)

[Java]
    void writeBlock(TElCustomDataStorageObject Obj, TElStream Strm, TElCustomDataStorageSecurityHandler Handler, long Offset, TSBLong Written);

Parameters

  • Obj - Data object to be copied
  • Strm - Destination stream where data block should be read to
  • Handler - Security handler used to perform the operation
  • Offset - Offset from which to start reading
  • Size - Size of the data block in bytes
  • Written - the number of bytes which have been actually written.

Description

    Use this method to write block of data to the storage.

See also:     ReadBlock    

Discuss this help topic in SecureBlackbox Forum