Sign in Join
FPDoc Onlineexperiment

TStream.ReadByte function

Member of TStreampublicIn unit Classes

Read a byte from the stream and return its value.

Declaration

pascal
function ReadByte: Byte

Description

ReadByte reads one byte from the stream and returns its value.

Errors

If the byte cannot be read, a EStreamError exception will be raised. This is a utility function which simply calls the Read function.

See also

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