|
PLearn 0.1
|
#include "byte_order.h"
Go to the source code of this file.
Namespaces | |
| namespace | PLearn |
< for swap | |
Functions | |
| void | PLearn::endianswap2 (void *ptr, int n) |
| swaps endians for n 2-byte elements (such as short) | |
| void | PLearn::endianswap4 (void *ptr, int n) |
| swaps endians for n 4-byte elements (such as int or float) | |
| void | PLearn::endianswap8 (void *ptr, int n) |
| swaps endians for n 8-byte elements (such as double) | |
1.7.4