[Overview][Constants][Classes][Index] | Reference for unit 'streamex' (#fcl)

# TStreamHelper.WriteWordLE

Write a word value, little endian

## Declaration

Source position: streamex.pp line 187

`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: May 14 2021