Sign in Join
FPDoc Onlineexperiment

TStream.WriteByte procedure

Member of TStreampublicIn unit Classes

Write a byte to the stream.

Declaration

pascal
procedure WriteByte(b: Byte)

Description

WriteByte writes the byte B to the stream. This is a utility function which simply calls the Write function. The byte can be read from the stream using the ReadByte function.

Errors

If an error occurs when attempting to write, an EStreamError exception will be raised.

See also

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