#include <iostream>
Go to the source code of this file.
|
| bool | IsLittleEndian () |
| |
| bool | IsBigEndian () |
| |
| void | ByteSwap (char *b, int n) |
| |
| void | ReadFromBigEndian (char *ptr, int nelem, int bytesPerElem, std::istream &is) |
| |
| void | WriteToBigEndian (char *ptr, int nelem, int bytesPerElem, std::ostream &os) |
| |
| void | ReadFromLittleEndian (char *ptr, int nelem, int bytesPerElem, std::istream &is) |
| |
| void | WriteToLittleEndian (char *ptr, int nelem, int bytesPerElem, std::ostream &os) |
| |
| void ByteSwap |
( |
char * |
b, |
|
|
int |
n |
|
) |
| |
|
inline |
| void ReadFromBigEndian |
( |
char * |
ptr, |
|
|
int |
nelem, |
|
|
int |
bytesPerElem, |
|
|
std::istream & |
is |
|
) |
| |
|
inline |
| void ReadFromLittleEndian |
( |
char * |
ptr, |
|
|
int |
nelem, |
|
|
int |
bytesPerElem, |
|
|
std::istream & |
is |
|
) |
| |
|
inline |
| void WriteToBigEndian |
( |
char * |
ptr, |
|
|
int |
nelem, |
|
|
int |
bytesPerElem, |
|
|
std::ostream & |
os |
|
) |
| |
|
inline |
| void WriteToLittleEndian |
( |
char * |
ptr, |
|
|
int |
nelem, |
|
|
int |
bytesPerElem, |
|
|
std::ostream & |
os |
|
) |
| |
|
inline |