| 276 | |
| 277 | template<class T> |
| 278 | inline ::cpp::Pointer<T> cpp::marshal::Marshal::readLittleEndianPointer(const View<uint8_t>& view) |
| 279 | { |
| 280 | #ifndef HXCPP_BIG_ENDIAN |
| 281 | return readPointer<T*>(view); |
| 282 | #else |
| 283 | return reverse(readPointer<T*>(view)); |
| 284 | #endif |
| 285 | } |
| 286 | |
| 287 | inline int16_t cpp::marshal::Marshal::readLittleEndianInt16(const View<uint8_t>& view) |
| 288 | { |