FACT++
1.0
|
#include <string.h>
#include <arpa/inet.h>
#include <vector>
#include <algorithm>
#include <typeinfo>
#include <stdexcept>
Go to the source code of this file.
Functions | |
template<typename S > | |
void | reset (S &s) |
template<typename S > | |
void | init (S &s) |
template<typename S > | |
void | hton (S &s) |
template<typename S > | |
void | ntoh (S &s) |
template<typename S > | |
S | NtoH (const S &s) |
template<typename S > | |
S | HtoN (const S &s) |
template<typename S > | |
void | ntohcpy (const std::vector< uint16_t > &vec, S &s) |
template<typename S > | |
std::vector< uint16_t > | htoncpy (const S &s) |
template<typename T , typename S > | |
void | bitcpy (T *target, size_t ntarget, const S *source, size_t nsource, size_t ss=0, size_t ts=0) |
template<typename T > | |
void | Reverse (T *t) |