FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
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:
src
ByteOrder.h
Generated on Sun Sep 18 2016 20:50:40 for FACT++ by
1.8.11