| 172 | static inline void GetBool(const char* ch, void* res) { memcpy(res, ch, 1); } |
| 173 | |
| 174 | static inline void GetInt16(const char* ch, void* res) { |
| 175 | memcpy(res, ch, 2); |
| 176 | memrev32ifbe(static_cast<void*>(res)); |
| 177 | } |
| 178 | |
| 179 | static inline void GetInt32(const char* ch, void* res) { |
| 180 | memcpy(res, ch, 4); |