EMS.Services.IEMSResourceResponseContent.TryGetBytes
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: EMS.Services.pas EMS.Services.hpp
| |
| Unit: EMS.Services | |
| Parent: IEMSResourceResponseContent | |
Delphi
function TryGetBytes(out ABytes: TBytes): Boolean;
C++
virtual bool __fastcall TryGetBytes(/* out */ System::Sysutils::TBytes &ABytes) = 0 ;
Description
If the response content is not empty, TryGetBytes fills ABytes with the response content as an instance of TBytes and returns True. TryGetBytes returns False otherwise.