Sign in Join
FPDoc Onlineexperiment

TInputPipeStream.Write function

Member of TInputPipeStreampublicIn unit Pipes

Write data to the stream.

Declaration

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

Arguments

Buffer

Memory buffer containing the data to be written.

Count

Number of bytes that must be written.

Function result

Number of bytes actually written.

Description

Write overrides the parent implementation of Write. On a TInputPipeStream will always raise an exception, as the pipe is read-only.

Errors

An EStreamError exception is raised when this function is called.

See also

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