Sign in Join
FPDoc Onlineexperiment

THandleStream.Write function

Member of THandleStreampublicIn unit Classes

Overrides standard write method.

Declaration

pascal
function Write(const Buffer; Count: LongInt): LongInt; override

Description

Write overrides the 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 the handle, 0 is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.