Data.DbxHTTPLayer.TDSHTTPResponseStream.Read
Delphi
function Read(Buffer: TArray<Byte>; Count: Longint): Integer; virtual; abstract;
C++
virtual int __fastcall Read(System::DynamicArray<System::Byte> Buffer, int Count) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DbxHTTPLayer.pas Data.DbxHTTPLayer.hpp |
Data.DbxHTTPLayer | TDSHTTPResponseStream |
Description
Reads a number of bytes in the byte buffer.
Implement the Read method in descending classes to read Count bytes into the byte buffer specified by the Buffer parameter.
Read should return the actual read byte count, or -1 if an error occurs.