[Overview][Constants][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Helper for stream classes, introducing some endianness methods
Source position: streamex.pp line 183
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 |
function ReadSingle; |
|
Read a single-precision floating point value from the stream |
function ReadDouble; |
|
Read a double-precision floating point value from the stream |
procedure WriteSingle(); |
|
Write a single-precision floating point value to the stream |
procedure WriteDouble(); |
|
Write a double-precision floating point value to the stream |
function ReadByte; |
||
function ReadWord; |
||
function ReadDWord; |
||
function ReadQWord; |
||
procedure WriteByte(); |
||
procedure WriteWord(); |
||
procedure WriteDWord(); |
||
procedure WriteQWord(); |
||
end; |
|
Helper for stream classes, introducing some endianness methods |
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.