#include "blocxx/BLOCXX_config.h"
#include "blocxx/Types.hpp"
#include <byteswap.h>
Go to the source code of this file.
Namespaces | |
namespace | BLOCXX_NAMESPACE |
Functions | |
UInt16 | BLOCXX_NAMESPACE::hton16 (UInt16 v) |
Convert a UInt16 value to network byte order. | |
UInt32 | BLOCXX_NAMESPACE::hton32 (UInt32 v) |
Convert a UInt32 value to network byte order. | |
UInt64 | BLOCXX_NAMESPACE::hton64 (UInt64 v) |
Convert a UInt64 value to network byte order. | |
UInt16 | BLOCXX_NAMESPACE::ntoh16 (UInt16 v) |
Convert a UInt16 value from network byte order to host byte order. | |
UInt32 | BLOCXX_NAMESPACE::ntoh32 (UInt32 v) |
Convert a UInt32 value from network byte order to host byte order. | |
UInt64 | BLOCXX_NAMESPACE::ntoh64 (UInt64 v) |
Convert a UInt64 value from network byte order to host byte order. |