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



[Overview][Constants][Classes] Reference for unit 'bufstream' (#fcl)

TWriteBufStream.Read

Read data from the stream

Declaration

Source position: bufstream.pp line 69

public function TWriteBufStream.Read(

  var ABuffer;

  ACount: LongInt

):Integer; override;

Arguments

ABuffer

  

Buffer to place read bytes in

ACount

  

Number of bytes to read

Function result

Number of bytes read

Description

Read always raises an EStreamError exception since TWriteBufStream is write-only. To read data in a buffered way, TReadBufStream should be used.

See also

TWriteBufStream.Seek

  

Set stream position.

TWriteBufStream.Write

  

Write data to the stream

TReadBufStream.Read

  

Reads data from the stream

Notes

 No notes exist for this page yet. 





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