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: UInt32); overload; |
|
procedure ReadLE(out Value: QWord); overload; |
|
procedure ReadLE(out Value: SmallInt); overload; |
|
procedure ReadLE(out Value: Int32); 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: UInt32); overload; |
|
procedure ReadBE(out Value: QWord); overload; |
|
procedure ReadBE(out Value: SmallInt); overload; |
|
procedure ReadBE(out Value: Int32); 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: UInt32); overload; |
|
procedure WriteLE(const Value: QWord); overload; |
|
procedure WriteLE(const Value: SmallInt); overload; |
|
procedure WriteLE(const Value: Int32); 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: UInt32); overload; |
|
procedure WriteBE(const Value: QWord); overload; |
|
procedure WriteBE(const Value: SmallInt); overload; |
|
procedure WriteBE(const Value: Int32); 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: UInt32); overload; |
|
This item has no description. |
procedure ReadLE(out Value: QWord); overload; |
|
This item has no description. |
procedure ReadLE(out Value: SmallInt); overload; |
|
This item has no description. |
procedure ReadLE(out Value: Int32); overload; |
|
This item has no description. |
procedure ReadLE(out Value: Int64); overload; |
|
This item has no description. |
procedure ReadLE(out Value: Single); overload; |
|
This item has no description. |
procedure ReadLE(out Value: Double); overload; |
|
This item has no description. |
procedure ReadLE(out Value: TVector2); overload; |
|
This item has no description. |
procedure ReadLE(out Value: TVector3); overload; |
|
This item has no description. |
procedure ReadLE(out Value: TVector4); overload; |
|
This item has no description. |
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: UInt32); overload; |
|
This item has no description. |
procedure ReadBE(out Value: QWord); overload; |
|
This item has no description. |
procedure ReadBE(out Value: SmallInt); overload; |
|
This item has no description. |
procedure ReadBE(out Value: Int32); overload; |
|
This item has no description. |
procedure ReadBE(out Value: Int64); overload; |
|
This item has no description. |
procedure ReadBE(out Value: Single); overload; |
|
This item has no description. |
procedure ReadBE(out Value: Double); overload; |
|
This item has no description. |
procedure WriteLE(const Value: Word); overload; |
|
Writes a value in native Byte order as little endian value to the stream. |
procedure WriteLE(const Value: UInt32); overload; |
|
This item has no description. |
procedure WriteLE(const Value: QWord); overload; |
|
This item has no description. |
procedure WriteLE(const Value: SmallInt); overload; |
|
This item has no description. |
procedure WriteLE(const Value: Int32); overload; |
|
This item has no description. |
procedure WriteLE(const Value: Int64); overload; |
|
This item has no description. |
procedure WriteLE(const Value: Single); overload; |
|
This item has no description. |
procedure WriteLE(const Value: Double); overload; |
|
This item has no description. |
procedure WriteBE(const Value: Word); overload; |
|
Writes a value in native Byte order as big endian value to the stream. |
procedure WriteBE(const Value: UInt32); overload; |
|
This item has no description. |
procedure WriteBE(const Value: QWord); overload; |
|
This item has no description. |
procedure WriteBE(const Value: SmallInt); overload; |
|
This item has no description. |
procedure WriteBE(const Value: Int32); overload; |
|
This item has no description. |
procedure WriteBE(const Value: Int64); overload; |
|
This item has no description. |
procedure WriteBE(const Value: Single); overload; |
|
This item has no description. |
procedure WriteBE(const Value: Double); overload; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.