FACT++  1.0
template<typename S >
void hton ( S &  s)

Definition at line 28 of file ByteOrder.h.

Referenced by HtoN().

29 {
30  std::transform(reinterpret_cast<uint16_t*>(&s),
31  reinterpret_cast<uint16_t*>(&s)+sizeof(S)/2,
32  reinterpret_cast<uint16_t*>(&s),
33  htons);
34 }

+ Here is the caller graph for this function: