| 194 | |
| 195 | template<class T> |
| 196 | inline ::cpp::Pointer<T> cpp::marshal::Marshal::readBigEndianPointer(const View<uint8_t>& view) |
| 197 | { |
| 198 | #ifdef HXCPP_BIG_ENDIAN |
| 199 | return readPointer<T*>(view); |
| 200 | #else |
| 201 | return reverse(readPointer<T*>(view)); |
| 202 | #endif |
| 203 | } |
| 204 | |
| 205 | inline int16_t cpp::marshal::Marshal::readBigEndianInt16(const View<uint8_t>& view) |
| 206 | { |