help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

THandleStream.Write

Overrides standard write method.

Declaration

Source position: classesh.inc line 658

public function THandleStream.Write(

  const Buffer;

  Count: LongInt

):LongInt; override;

Description

Write implements the abstract Write method of TStream. It uses the Handle property to write the Count bytes from Buffer.

If no error occurs while writing, the number of bytes actually written will be returned.

Errors

If the operating system reports an error while writing to handle, -1 is returned.

See also

TStream.Read

  

Reads data from the stream to a buffer and returns the number of bytes read.

THandleStream.Write

  

Overrides standard write method.

THandleStream.Handle

  

The OS handle of the stream.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505