Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandlerStream.WriteDirect Method

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

Pascal
procedure WriteDirect(
    var aBuffer: TIdBytes
); override;
Parameters 
Description 
aBuffer 
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. 

TIdStream

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.