Sign in Join
FPDoc Onlineexperiment

TInputPipeStream.Read function

Member of TInputPipeStreampublicIn unit Pipes

Read data from the stream to a buffer.

Declaration

pascal
function Read(var Buffer; Count: LongInt): LongInt; override

Arguments

Buffer

Memory buffer where to write the data read from the stream.

Count

Number of bytes to read from the stream.

Function result

Number of bytes actually read from the stream.

Description

Read calls the inherited read and adjusts the internal position pointer of the stream.

Errors

None.

See also

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