| 221 | } |
| 222 | |
| 223 | inline int64_t cpp::marshal::Marshal::readBigEndianInt64(const View<uint8_t>& view) |
| 224 | { |
| 225 | #ifdef HXCPP_BIG_ENDIAN |
| 226 | return readInt64(view); |
| 227 | #else |
| 228 | return reverse(readInt64(view)); |
| 229 | #endif |
| 230 | } |
| 231 | |
| 232 | inline uint16_t cpp::marshal::Marshal::readBigEndianUInt16(const View<uint8_t>& view) |
| 233 | { |