Skip to content

TStreamHelper.ReadWordLE

Read a Word from the stream, little endian.

Declaration

Source position: streamex.pp line 330

function TStreamHelper.ReadWordLE : Word;

Description

ReadWordLE reads a word from the stream, little-endian (LSB first).

Errors

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

See also

Name Description
TStreamHelper.ReadDWordLE Read a DWord from the stream, little endian.
TStreamHelper.ReadQWordLE Read a QWord from the stream, little endian.
TStreamHelper.WriteWordLE Write a word value, little endian.