Sign in Join
FPDoc Onlineexperiment

TStreamHelper.WriteWordLE procedure

Member of TStreamHelperIn unit StreamEx

Write a word value, little endian.

Declaration

pascal
procedure WriteWordLE(w: Word)

Arguments

w

The word value to write to stream.

Description

WriteWordLE writes a Word-sized value to the stream, little-endian (LSB first).

Errors

If not all data (2 bytes) can be written, an EWriteError exception is raised.

See also

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