Discuss this help topic in SecureBlackbox Forum

TElFileDataStorage.WriteBlock

TElFileDataStorage     See also     


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


Writes (overwrites) block of data.

Declaration

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

[VB.NET]
    Sub WriteBlock(ByVal ObjName As String, ByVal Strm As System.IO.Stream, ByVal Handler As TElCustomDataStorageSecurityHandler, ByVal Offset As Long, ByRef Written As Long)
    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(const ObjName : string; Strm : TStream; Handler : TElCustomDataStorageSecurityHandler; Offset : Int64; var Written : Int64);

[C++]
    void WriteBlock(const std::string &ObjName, TStream &Strm, TElCustomDataStorageSecurityHandler &Handler, int64_t Offset, int64_t &Written);
    void WriteBlock(const std::string &ObjName, TStream *Strm, TElCustomDataStorageSecurityHandler *Handler, int64_t Offset, int64_t &Written);

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

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

Parameters

  • ObjName - name of the object
  • Strm - stream containing object data
  • Handler - security handler used to perform the operation
  • Offset - data offset in the stream
  • Written - number of bytes that were written
  • Obj - ...

Description

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

See also:     WriteObject    

Discuss this help topic in SecureBlackbox Forum