Internet Direct (Indy) Version 9.0.2 Beta
TIdStream.Write
Implements String-based output for Indy stream operations.

procedure Write(const AData: string);
Parameters
const AData: string
String to be written to the stream.

Description
Write is a Procedure, reintroduced in TIdStream, to implement support for String-based output to the stream using the values in AData. Write also performs additional error checking to ensure that the length of AData is not zero before writing the values to the stream.