Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorageObject.ReadBlock

TElDropboxDataStorageObject     See also     


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


Reads a block of data from the file in the storage.

Declaration

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

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

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

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

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

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

Parameters

  • Offset - the position in the file (in bytes) from which to start reading. If set to -1, starts reading from the beginning of the file.
  • Read - contains the number of bytes that were actually read.
  • Size - the size of the data block to be read. If set to -1, reads the entire file.
  • Strm - the stream into which the data will be read.

Description

    Use this method to download a block of data from the file in Dropbox.

See also:     Read    

Discuss this help topic in SecureBlackbox Forum