Discuss this help topic in SecureBlackbox Forum

TElCustomDataStorage.WriteBlock

TElCustomDataStorage     See also     


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


Writes data block to the storage.

Declaration

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

[VB.NET]
    Sub WriteBlock(ByVal Obj As TElCustomDataStorageObject, ByVal Strm As System.IO.Stream, ByVal Handler As TElCustomDataStorageSecurityHandler, ByVal Offset As Long, ByVal Size 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)

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