Class TStreamHelper
Unit
Declaration
type TStreamHelper = class helper(TObject) for TStream
Description
Helper class for streams that allows to correctly read and write either little or big endian values.
Hierarchy
- TObject
- TStreamHelper
Overview
Methods
procedure ReadLE(out Value: Word); overload; |
|
procedure ReadLE(out Value: LongWord); overload; |
|
procedure ReadLE(out Value: QWord); overload; |
|
procedure ReadLE(out Value: SmallInt); overload; |
|
procedure ReadLE(out Value: LongInt); overload; |
|
procedure ReadLE(out Value: Int64); overload; |
|
procedure ReadLE(out Value: Single); overload; |
|
procedure ReadLE(out Value: Double); overload; |
|
procedure ReadLE(out Value: TVector2); overload; |
|
procedure ReadLE(out Value: TVector3); overload; |
|
procedure ReadLE(out Value: TVector4); overload; |
|
procedure ReadBE(out Value: Word); overload; |
|
procedure ReadBE(out Value: LongWord); overload; |
|
procedure ReadBE(out Value: QWord); overload; |
|
procedure ReadBE(out Value: SmallInt); overload; |
|
procedure ReadBE(out Value: LongInt); overload; |
|
procedure ReadBE(out Value: Int64); overload; |
|
procedure ReadBE(out Value: Single); overload; |
|
procedure ReadBE(out Value: Double); overload; |
|
procedure WriteLE(const Value: Word); overload; |
|
procedure WriteLE(const Value: LongWord); overload; |
|
procedure WriteLE(const Value: QWord); overload; |
|
procedure WriteLE(const Value: SmallInt); overload; |
|
procedure WriteLE(const Value: LongInt); overload; |
|
procedure WriteLE(const Value: Int64); overload; |
|
procedure WriteLE(const Value: Single); overload; |
|
procedure WriteLE(const Value: Double); overload; |
|
procedure WriteBE(const Value: Word); overload; |
|
procedure WriteBE(const Value: LongWord); overload; |
|
procedure WriteBE(const Value: QWord); overload; |
|
procedure WriteBE(const Value: SmallInt); overload; |
|
procedure WriteBE(const Value: LongInt); overload; |
|
procedure WriteBE(const Value: Int64); overload; |
|
procedure WriteBE(const Value: Single); overload; |
|
procedure WriteBE(const Value: Double); overload; |
Description
Methods
procedure ReadLE(out Value: Word); overload; |
|
Reads a little endian value from the stream and converts it to native Byte order. |
procedure ReadLE(out Value: LongWord); overload; |
|
procedure ReadLE(out Value: QWord); overload; |
|
procedure ReadLE(out Value: SmallInt); overload; |
|
procedure ReadLE(out Value: LongInt); overload; |
|
procedure ReadLE(out Value: Int64); overload; |
|
procedure ReadLE(out Value: Single); overload; |
|
procedure ReadLE(out Value: Double); overload; |
|
procedure ReadLE(out Value: TVector2); overload; |
|
procedure ReadLE(out Value: TVector3); overload; |
|
procedure ReadLE(out Value: TVector4); overload; |
|
procedure ReadBE(out Value: Word); overload; |
|
Reads a big endian value from the stream and converts it to native Byte order. |
procedure ReadBE(out Value: LongWord); overload; |
|
procedure ReadBE(out Value: QWord); overload; |
|
procedure ReadBE(out Value: SmallInt); overload; |
|
procedure ReadBE(out Value: LongInt); overload; |
|
procedure ReadBE(out Value: Int64); overload; |
|
procedure ReadBE(out Value: Single); overload; |
|
procedure ReadBE(out Value: Double); overload; |
|
procedure WriteLE(const Value: Word); overload; |
|
Writes a value in native Byte order as little endian value to the stream. |
procedure WriteLE(const Value: LongWord); overload; |
|
procedure WriteLE(const Value: QWord); overload; |
|
procedure WriteLE(const Value: SmallInt); overload; |
|
procedure WriteLE(const Value: LongInt); overload; |
|
procedure WriteLE(const Value: Int64); overload; |
|
procedure WriteLE(const Value: Single); overload; |
|
procedure WriteLE(const Value: Double); overload; |
|
procedure WriteBE(const Value: Word); overload; |
|
Writes a value in native Byte order as big endian value to the stream. |
procedure WriteBE(const Value: LongWord); overload; |
|
procedure WriteBE(const Value: QWord); overload; |
|
procedure WriteBE(const Value: SmallInt); overload; |
|
procedure WriteBE(const Value: LongInt); overload; |
|
procedure WriteBE(const Value: Int64); overload; |
|
procedure WriteBE(const Value: Single); overload; |
|
procedure WriteBE(const Value: Double); overload; |
|
Generated by PasDoc 0.16.0.