Sign in Join
FPDoc Onlineexperiment

TMemoryStream.Read procedure

Member of TMemoryStreamIn unit Objects

Read data from the stream to a location in memory.

Declaration

pascal
procedure Read(var Buf; Count: LongInt); virtual

Description

Read reads Count bytes from the stream to Buf. It updates the position of the stream.

For an example, see Read.

Errors

If there is not enough data available, no data is read, and the stream's status is set to stReadError.

See also

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