[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Objects' (#rtl)

TMemoryStream.Read

Read data from the stream to a location in memory.

Declaration

Source position: objects.pp line 378

procedure TMemoryStream.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 TStream.Read.

Errors

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

See also

TStream.Read

  

Read data from stream to buffer.

TMemoryStream.Write

  

Write data to the stream.


Documentation generated on: Sep 28 2017