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

# TStreamHelper

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Helper for stream classes, introducing some endianness methods

## Declaration

Source position: streamex.pp line 62

`type TStreamHelper = class helper`
`function ReadWordLE;` |  | Read a Word from the stream, little endian
`function ReadDWordLE;` |  | Read a DWord from the stream, little endian
`function ReadQWordLE;` |  | Read a QWord from the stream, little endian
`procedure WriteWordLE();` |  | Write a word value, little endian
`procedure WriteDWordLE();` |  | Write a DWord value, little endian
`procedure WriteQWordLE();` |  | Write a QWord value, little endian
`function ReadWordBE;` |  | Read a Word from the stream, big endian
`function ReadDWordBE;` |  | Read a DWord from the stream, big endian
`function ReadQWordBE;` |  | Read a QWord from the stream, big endian
`procedure WriteWordBE();` |  | Write a word value, big endian
`procedure WriteDWordBE();` |  | Write a DWord value, big endian
`procedure WriteQWordBE();` |  | Write a QWord value, big endian
`end;`

## Inheritance

`TStreamHelper` |  | Helper for stream classes, introducing some endianness methods

## Description

TStreamHelper is a TStream helper class which introduces some helper routines to read/write multi-byte integer values in a way that is endianness-safe.

## See also

TStream

Documentation generated on: Feb 26 2014