Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorageObject.ReadBlock

TElAWSS3DataStorageObject     See also     


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


Reads block of data from the object in the storage.

Declaration

[C#/Java]
    void ReadBlock(System.IO.Stream Strm, long Offset, long Size, ref long Read);
    void ReadBlock(System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag);
    void ReadBlock(System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag, TElStringList Metadata, ref string ObjContentType, ref string ObjContentDisposition, ref string ObjETag);
    void ReadBlock(System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag, TElStringList Metadata, ref string ObjContentType, ref string ObjContentDisposition, ref string ObjContentEncoding, ref string ObjETag);

[VB.NET]
    Sub ReadBlock(ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long)
    Sub ReadBlock(ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String)
    Sub ReadBlock(ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal Metadata As TElStringList, ByRef ObjContentType As String, ByRef ObjContentDisposition As String, ByRef ObjETag As String)
    Sub ReadBlock(ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal Metadata As TElStringList, ByRef ObjContentType As String, ByRef ObjContentDisposition As String, ByRef ObjContentEncoding As String, ByRef ObjETag As String)

[Pascal]
    procedure ReadBlock(Strm : System.IO.Stream; Offset, Size : Int64; var Read : Int64);
    procedure ReadBlock(Strm : System.IO.Stream; Offset, Size : Int64; var Read : Int64; Condition : TSBAWSS3ReadObjectCondition; DateTime : DateTime; const ETag : String);
    procedure ReadBlock(Strm : System.IO.Stream; Offset, Size : Int64; var Read : Int64; Condition : TSBAWSS3ReadObjectCondition; DateTime : DateTime; const ETag : String; Metadata : TElStringList; var ObjContentType : String; var ObjContentDisposition : String; var ObjETag : String);

[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);
    void ReadBlock(TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag);
    void ReadBlock(TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag);
    void ReadBlock(TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList &Metadata, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjETag);
    void ReadBlock(TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList *Metadata, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjETag);
    void ReadBlock(TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList &Metadata, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjContentEncoding, std::string &ObjETag);
    void ReadBlock(TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList *Metadata, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjContentEncoding, std::string &ObjETag);

[PHP]
    void ReadBlock(TStream $Strm, integer $Offset, integer $Size, integer &$Read)
    void ReadBlock(TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag)
    void ReadBlock(TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, TElStringList $Metadata, string &$ObjContentType, string &$ObjContentDisposition, string &$ObjETag)
    void ReadBlock(TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, TElStringList $Metadata, string &$ObjContentType, string &$ObjContentDisposition, string &$ObjContentEncoding, string &$ObjETag)

Parameters

  • Strm - stream where the data will be read to
  • Offset - offset of the data block
  • Size - size the data block
  • Read - number of bytes that were actually read
  • Condition - condition under which the object will be retrieved
  • DateTime - object's modification date and time
  • ETag - object's entity tag
  • Metadata - contains metadata of the object
  • ObjContentType - contains content type of the object that has been read
  • ObjContentDisposition - contains content disposition of the object that has been read
  • ObjETag - contains entity tag of the object that has been read
  • ObjContentEncoding - ...

Values


Description

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

See also:     Read    

Discuss this help topic in SecureBlackbox Forum