Skip to content

TStreamHelper.ReadWordBE

Read a Word from the stream, big endian.

Declaration

Source position: streamex.pp line 336

function TStreamHelper.ReadWordBE : Word;

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

Name Description
TStreamHelper.ReadDWordBE Read a DWord from the stream, big endian.
TStreamHelper.ReadQWordBE Read a QWord from the stream, big endian.
TStreamHelper.WriteWordBE Write a word value, big endian.