Functions | |
bool | is_little_endian () |
uint64_t | _htonll (uint64_t src) |
Convert 64 bit value to network byte order. More... | |
uint64_t | _ntohll (uint64_t src) |
Convert 64 bit value to host byte order. More... | |
|
inline |
Definition at line 45 of file network.hpp.
Referenced by websocketpp::frame::circshift_prepared_key().
|
inline |
Convert 64 bit value to network byte order.
This method is prefixed to avoid conflicts with operating system level macros for this functionality.
TODO: figure out if it would be beneficial to use operating system level macros for this.
src | The integer in host byte order |
Definition at line 66 of file network.hpp.
References TYP_BIGE, TYP_INIT, and TYP_SMLE.
Referenced by _ntohll(), and BOOST_AUTO_TEST_CASE().
|
inline |
Convert 64 bit value to host byte order.
This method is prefixed to avoid conflicts with operating system level macros for this functionality.
TODO: figure out if it would be beneficial to use operating system level macros for this.
src | The integer in network byte order |
Definition at line 98 of file network.hpp.
References _htonll().
Referenced by websocketpp::frame::get_jumbo_size().