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



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

TCustomMemoryStream.Read

Reads Count bytes from the stream into buffer.

Declaration

Source position: classesh.inc line 685

public function TCustomMemoryStream.Read(

  var Buffer;

  Count: LongInt

):LongInt; override;

Description

Read reads Count bytes from the stream into the memory pointed to by buffer. It returns the number of bytes actually read.

This method overrides the abstract TStream.Read method of TStream. It will read as much bytes as are still available in the memory area pointer to by Memory. After the bytes are read, the internal stream position is updated.

See also

TCustomMemoryStream.Memory

  

Pointer to the data kept in the memory stream.

TStream.Read

  

Reads data from the stream to a buffer and returns the number of bytes read.

Notes

 No notes exist for this page yet. 





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