Searched refs:hostToNetwork (Results 1 – 1 of 1) sorted by relevance
42 template <typename T> T hostToNetwork (T value);45 template <> int hostToNetwork (int value) { return (int)swapEndianess((deUint32)value); } in hostToNetwork() function114 int size = hostToNetwork((int)m_buf.size()); in finalize()121 T netValue = hostToNetwork(value); in put()152 int netSize = hostToNetwork(messageSize); in writeHeader()153 int netType = hostToNetwork((int)type); in writeHeader()