Write the specified values to the IOHandler.
procedure Write( AValue: Cardinal; AConvert: Boolean = True ); overload;
Parameters |
Description |
AValue |
Values to write to the IOHandler. |
AConvert |
Indicates the order of bytes for the ordinal data type must be converted. |
Write is an overloaded method in TIdIOHandler used to write various data types from the indicated source to the IOHandler. Write can use the Indy write buffering mechanism when it has been enabled.
When AConvert is True, the byte order for AValue is converted from its host-specific byte order to Network byte order using the HostToNetwork method in GStack.
Write calls WriteBytes to copy the converted value to the IOHandler.
Call WriteBufferOpen to enable write buffer for the IOHandler.
Call WriteBufferClose to disable write buffer for the IOHandler.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|