| 111 | |
| 112 | template<typename T> |
| 113 | FORCE_INLINE void ReadStructure(const T& data) |
| 114 | { |
| 115 | ReadBytes((uint8*)&data, sizeof(data)); |
| 116 | } |
| 117 | |
| 118 | #define DECL_READWRITE(type, name) \ |
| 119 | FORCE_INLINE void Write##name(type value) { WriteBytes(reinterpret_cast<const uint8*>(&value), sizeof(type)); } \ |
nothing calls this directly
no test coverage detected