Unit 'Pipes' Package
[Overview][Constants][Classes][Procedures and functions][Index] [#fcl]

TInputPipeStream.Write

Write data to the stream.

Declaration

Source position: pipes.pp line 46

public function TInputPipeStream.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

Read

  

Read data from the stream to a buffer.

Seek

  

Set the current position of the stream.


Documentation generated on: Nov 22 2024