Discuss this help topic in SecureBlackbox Forum

TElCustomDataStorage.ReadBlock

TElCustomDataStorage     See also     


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


Reads data block from the storage.

Declaration

[C#]
    void ReadBlock(TElCustomDataStorageObject Obj, System.IO.Stream Strm, long Offset, long Size, ref long Read);

[VB.NET]
    Sub ReadBlock(ByVal Obj As TElCustomDataStorageObject, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long)

[Pascal]
    procedure ReadBlock(var Obj : TElCustomDataStorageObject; Strm : TStream; Offset, Size : Int64; var Read : Int64);

[C++]
    void ReadBlock(TElCustomDataStorageObject &Obj, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read);
    void ReadBlock(TElCustomDataStorageObject *Obj, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read);

[PHP]
    void ReadBlock(TElCustomDataStorageObject $Obj, TStream $Strm, integer $Offset, integer $Size, integer &$Read)

[Java]
    void readBlock(TElCustomDataStorageObject Obj, TElStream Strm, long Offset, long Size, TSBLong Read);

Parameters

  • Obj - Data object to be copied
  • Strm - Destination stream where data block should be read to
  • Offset - Offset from which to start reading
  • Size - Size of the data block in bytes
  • Read - Number of bytes which were actually read

Description

    Use this method to read block of data from the storage.

See also:     WriteBlock    

Discuss this help topic in SecureBlackbox Forum