| 294 | } |
| 295 | |
| 296 | inline int32_t cpp::marshal::Marshal::readLittleEndianInt32(const View<uint8_t>& view) |
| 297 | { |
| 298 | #ifndef HXCPP_BIG_ENDIAN |
| 299 | return readInt32(view); |
| 300 | #else |
| 301 | return reverse(readInt32(view)); |
| 302 | #endif |
| 303 | } |
| 304 | |
| 305 | inline int64_t cpp::marshal::Marshal::readLittleEndianInt64(const View<uint8_t>& view) |
| 306 | { |