blocxx
Namespaces | Functions

ByteSwap.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/Types.hpp"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


Functions

UInt16 BLOCXX_NAMESPACE::hton16 (UInt16 v)
UInt32 BLOCXX_NAMESPACE::hton32 (UInt32 v)
UInt64 BLOCXX_NAMESPACE::hton64 (UInt64 v)
UInt16 BLOCXX_NAMESPACE::ntoh16 (UInt16 v)
UInt32 BLOCXX_NAMESPACE::ntoh32 (UInt32 v)
UInt64 BLOCXX_NAMESPACE::ntoh64 (UInt64 v)