Discuss this help topic in SecureBlackbox Forum

TElGoogleDriveFile.Read

TElGoogleDriveFile     See also     


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


Downloads the file data or its part from the remote storage.

Declaration

[C#/Java]
    void Read(System.IO.Stream Data);
    long Read(System.IO.Stream Data, long Offset, long Size);

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

[Pascal]
    procedure Read(Data: TStream);
    function Read(Data: TStream; Offset, Size : Int64): Int64;

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

[PHP]
    void Read(TStream $Data)
    integer Read(TStream $Data, integer $Offset, integer $Size)

Parameters

  • Data - destination stream where the file or its part should be downloaded to
  • Offset - Offset from which to start reading
  • Size - Size of the data block in bytes

Description

    Use this method to download the file's data or its part from the storage to the stream.

See also:     Write     FileSize    

Discuss this help topic in SecureBlackbox Forum