[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;

Description

Writealways raises an EStreamErrorexception, because the stream is read-only. A TWriteBufStreamwrite 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