Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Methods > Write Method > Write Method (Int64, Boolean)
TIdIOHandler.Write Method (Int64, Boolean)

Writes an Int64 value using the IOHandler.

procedure Write(
    AValue: Int64; 
    AConvert: Boolean = True
); overload;
Value to write using the IOHandler.
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.