| 285 | } |
| 286 | |
| 287 | inline int16_t cpp::marshal::Marshal::readLittleEndianInt16(const View<uint8_t>& view) |
| 288 | { |
| 289 | #ifndef HXCPP_BIG_ENDIAN |
| 290 | return readInt16(view); |
| 291 | #else |
| 292 | return reverse(readInt16(view)); |
| 293 | #endif |
| 294 | } |
| 295 | |
| 296 | inline int32_t cpp::marshal::Marshal::readLittleEndianInt32(const View<uint8_t>& view) |
| 297 | { |