[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

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