Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.Write Method (Int64, Boolean)

Writes an Int64 value using the IOHandler.

Pascal
procedure Write(
    AValue: Int64; 
    AConvert: Boolean = True
); overload;
Parameters 
Description 
AValue 
Value to write using the IOHandler.
 
AConvert 
Indicates if the byte order for the numeric value should be converted. Default value is True. 

Write is an overloaded method used to write the Int64 value in AValue using the IOHandler. 

AConvert indicates if the byte order for the numeric value should be converted from its' host-specific representation to network byte order prior to writing data to the IOHandler. The default value is True, and causes the HostToNetwork method in the GStack class instance to be called for the data in AValue. 

Write calls an overloaded variant of the method using the value in AValue converted to a TIdBytes data type. 

Call WriteBufferOpen to enable write buffer for the IOHandler. 

Call WriteBufferClose to disable write buffer for the IOHandler.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.