![]() |
Public API Reference |
Helpers for dealing with endian conversions. More...
Go to the source code of this file.
Classes | |
| struct | csBigEndian |
| Big endian to native conversion routines. More... | |
| struct | csGetFromAddress |
| Sized data type access helpers. More... | |
| struct | csIEEEfloat |
| Convert IEEE 32-bit floats from or to native machine floats. More... | |
| struct | csLittleEndian |
| Little endian to native conversion routines. More... | |
| struct | csSetToAddress |
| Sized data type access helpers. More... | |
| struct | csSwapBytes |
| Methods to unconditionally swap the byte order of specifically sized types. More... | |
Functions | |
| static int64 | csDoubleToLongLong (double d) |
| Convert a double to a cross-platform 64-bit format (no endianess adjustments!) | |
| static int32 | csFloatToLong (float f) |
| Convert a float to a cross-platform 32-bit format (no endianess adjustments!) | |
| static short | csFloatToShort (float f) |
| Convert a float to a cross-platform 16-bit format (no endianess adjustments!) | |
| static double | csLongLongToDouble (int64 i) |
| Convert a 64-bit cross-platform double to native format (no endianess adjustments!) | |
| static float | csLongToFloat (int32 l) |
| Convert a 32-bit cross-platform float to native format (no endianess adjustments!) | |
| static float | csShortToFloat (short s) |
| Convert a 16-bit cross-platform float to native format (no endianess adjustments!) | |
Helpers for dealing with endian conversions.
Definition in file csendian.h.