Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorageBucket.ReadBlock

TElAWSS3DataStorageBucket     See also     


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


Reads block of data from the object in the bucket.

Declaration

[C#]
    void ReadBlock(string Key, System.IO.Stream Strm, long Offset, long Size, ref long Read);
    void ReadBlock(string Key, System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag);
    void ReadBlock(string Key, 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(string Key, 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 Key As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long)
    Sub ReadBlock(ByVal Key As String, 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 Key As String, 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 Key As String, 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(const Key : String; Strm : System.IO.Stream; Offset, Size : Int64; var Read : Int64);
    procedure ReadBlock(const Key : String; Strm : System.IO.Stream; Offset, Size : Int64; var Read : Int64; Condition : TSBAWSS3ReadObjectCondition; DateTime : DateTime; const ETag : String);
    procedure ReadBlock(const Key : String; 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(const std::string &Key, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read);
    void ReadBlock(const std::string &Key, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read);
    void ReadBlock(const std::string &Key, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag);
    void ReadBlock(const std::string &Key, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag);
    void ReadBlock(const std::string &Key, 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(const std::string &Key, 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(const std::string &Key, 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(const std::string &Key, 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(string $Key, TStream $Strm, integer $Offset, integer $Size, integer &$Read)
    void ReadBlock(string $Key, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag)
    void ReadBlock(string $Key, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, TElStringList $Metadata, string &$ObjContentType, string &$ObjContentDisposition, string &$ObjETag)
    void ReadBlock(string $Key, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, TElStringList $Metadata, string &$ObjContentType, string &$ObjContentDisposition, string &$ObjContentEncoding, string &$ObjETag)

[Java]
    void readBlock(String Key, TElStream Strm, long Offset, long Size, TSBLong Read);
    void readBlock(String Key, TElStream Strm, long Offset, long Size, TSBLong Read, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag);
    void readBlock(String Key, TElStream Strm, long Offset, long Size, TSBLong Read, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag, TElStringList Metadata, TSBString ObjContentType, TSBString ObjContentDisposition, TSBString ObjETag);
    void readBlock(String Key, TElStream Strm, long Offset, long Size, TSBLong Read, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag, TElStringList Metadata, TSBString ObjContentType, TSBString ObjContentDisposition, TSBString ObjContentEncoding, TSBString ObjETag);

Parameters

  • Key - a unique identifier of the object within a bucket
  • 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 bucket.

See also:     ReadObject    

Discuss this help topic in SecureBlackbox Forum