Sign in Join
FPDoc Onlineexperiment

TStreamHelper.ReadWordBE function

Member of TStreamHelperIn unit StreamEx

Read a Word from the stream, big endian.

Declaration

pascal
function ReadWordBE: Word

Function result

The word value.

Description

ReadWordBE reads a word from the stream, big-endian (MSB first).

Errors

If not enough data is available an EReadError exception is raised.

See also

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