LRT13  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
NetUtil.h
1 #ifndef NETUTIL_H_
2 #define NETUTIL_H_
3 //sdf
4 #include "Includes.h"
5 #include <cmath>
6 
7 namespace Network
8 {
9  class NetUtil
10  {
11  public:
12  static UINT32 PackFloat(float f);
13  static float UnpackFloat(UINT32 packed);
14 
15  static UINT64 PackDouble(double d);
16  static double UnpackDouble(UINT64 packed);
17  };
18 };
19 
20 #endif