Topic Path: Symbol Reference > Classes > TIdIOHandlerStream Class > TIdIOHandlerStream Methods > WriteDirect Method
TIdIOHandlerStream.WriteDirect Method

Implements physical writes to the send stream in the stream-based IOHandler.

procedure WriteDirect(
    var aBuffer: TIdBytes
); override;
Values to be written to the stream-based IOHandler. 

WriteDirect is an overridden procedure that implements physical writes to the SendStream for methods in the stream-based IOHandler. 

ABuffer contains the values to be written to the SendStream for the stream-based IOHandler. 

WriteDirect ensures that SendStream contains a valid stream instance prior to writing to the TIdStreamVCL wrapper for the stream instance. 

WriteDirect calls the inherited Write method, and calls the TIdStreamVCL.Write method for stream wrapper class using the values in ABuffer.

Needs update. 


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