KJB
|
Go to the source code of this file.
Namespaces | |
kjb | |
Classes and functions for dealing with trajectory files. | |
Functions | |
template<int NUM_BYTES> | |
void | kjb::swap_bytes_dispatch (void *) |
Swap the byte-order of a value. More... | |
template<> | |
void | kjb::swap_bytes_dispatch< 2 > (void *value) |
swap the byte order of a 16-bit value (do not call directly). More... | |
template<> | |
void | kjb::swap_bytes_dispatch< 4 > (void *value) |
swap the byte order of a 32-bit value (do not call directly). More... | |
template<> | |
void | kjb::swap_bytes_dispatch< 8 > (void *value) |
swap the byte order of a 64-bit value (do not call directly). More... | |
template<class T > | |
void | kjb::swap_bytes (T *value) |
template<class T > | |
void | kjb::swap_bytes (T &value) |
template<class T > | |
void | kjb::swap_array_bytes (T *array, size_t N) |