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



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

TReadBufStream.Write

Writes data to the stream

Declaration

Source position: bufstream.pp line 60

public function TReadBufStream.Write(

  const ABuffer;

  ACount: LongInt

):Integer; override;

Arguments

ABuffer

  

Buffer containing data to write to stream

ACount

  

Number of bytes to write to stream

Function result

Number of bytes actually read

Description

Write always raises an EStreamError exception, because the stream is read-only. A TWriteBufStream write stream must be used to write data in a buffered way.

See also

TReadBufStream.Seek

  

Set location in the buffer

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