System.Tether.Manager.TTetheringProtocol.ReadStream
Delphi
function ReadStream(const AStream: TStream): Boolean; inline; deprecated 'Use ReceiveStream';
C++
bool __fastcall ReadStream _DEPRECATED_ATTRIBUTE1("Use ReceiveStream") (System::Classes::TStream* const AStream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProtocol |
Description
Warning: ReadStream is deprecated. Please use ReceiveStream.
Reads a stream from the remote protocol into the specified variable, and returns True
on success or False
on failure.
This function receives a single parameter, AStream
, which is the stream variable that receives the data of the input stream.
ReadStream returns False
if there is a connection error during the transmission of the stream. It returns True
otherwise.