help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TMemoryStream.Read

Read data from the stream to a location in memory.

Declaration

Source position: objects.pp line 374

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.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505