Sign in Join
FPDoc Onlineexperiment

TStream.Write procedure

Member of TStreamIn unit Objects

Write a number of bytes to the stream.

Declaration

pascal
procedure Write(var Buf; Count: LongInt); virtual

Description

Write is an abstract method that should be overridden by descendent objects.

Write writes Count bytes to the stream from Buf. It updates the position pointer, increasing it's value with Count.

For an example, see Read.

Errors

No checking is done to see if Buf actually contains Count bytes.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.