|
STTNet
|
Responsible for endianness conversion. More...
#include <sttnet_English.h>
Static Public Member Functions | |
| static unsigned long & | htonl_ntohl_64 (unsigned long &data) |
| Reverse the endianness of a 64-bit unsigned integer (big endian <-> little endian). More... | |
Responsible for endianness conversion.
|
static |
Reverse the endianness of a 64-bit unsigned integer (big endian <-> little endian).
This function simulates the 64-bit version of htonl/ntohl, i.e., swaps high and low bytes. Modifies the parameter in place and returns a reference.
| data | Input 64-bit unsigned integer, returned after byte reversal. |
1.8.5