| 212 | } |
| 213 | |
| 214 | inline int32_t cpp::marshal::Marshal::readBigEndianInt32(const View<uint8_t>& view) |
| 215 | { |
| 216 | #ifdef HXCPP_BIG_ENDIAN |
| 217 | return readInt32(view); |
| 218 | #else |
| 219 | return reverse(readInt32(view)); |
| 220 | #endif |
| 221 | } |
| 222 | |
| 223 | inline int64_t cpp::marshal::Marshal::readBigEndianInt64(const View<uint8_t>& view) |
| 224 | { |