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

TStreamHelper.WriteWordBE

Write a word value, big endian.

Declaration

Source position: streamex.pp line 337

procedure TStreamHelper.WriteWordBE(

  w: Word

);

Arguments

w

  

The word value to write to stream.

Description

WriteWordBE writes a Word-sized value to the stream, big-endian (MSB first).

Errors

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

See also

TStreamHelper.ReadWordBE

  

Read a Word from the stream, big endian.

TStreamHelper.WriteDWordBE

  

Write a DWord value, big endian.

TStreamHelper.WriteQWordBE

  

Write a QWord value, big endian.


Documentation generated on: Nov 22 2024