| 203 | } |
| 204 | |
| 205 | inline int16_t cpp::marshal::Marshal::readBigEndianInt16(const View<uint8_t>& view) |
| 206 | { |
| 207 | #ifdef HXCPP_BIG_ENDIAN |
| 208 | return readInt16(view); |
| 209 | #else |
| 210 | return reverse(readInt16(view)); |
| 211 | #endif |
| 212 | } |
| 213 | |
| 214 | inline int32_t cpp::marshal::Marshal::readBigEndianInt32(const View<uint8_t>& view) |
| 215 | { |