Unit 'streamex' Package
[Overview][Constants][Classes][Index] [#fcl]

TStreamHelper.WriteWordLE

Write a word value, little endian.

Declaration

Source position: streamex.pp line 331

procedure TStreamHelper.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

TStreamHelper.ReadWordLE

  

Read a Word from the stream, little endian.

TStreamHelper.WriteDWordLE

  

Write a DWord value, little endian.

TStreamHelper.WriteQWordLE

  

Write a QWord value, little endian.


Documentation generated on: Dec 27 2024