| 230 | } |
| 231 | |
| 232 | inline uint16_t cpp::marshal::Marshal::readBigEndianUInt16(const View<uint8_t>& view) |
| 233 | { |
| 234 | #ifdef HXCPP_BIG_ENDIAN |
| 235 | return readUInt16(view); |
| 236 | #else |
| 237 | return reverse(readUInt16(view)); |
| 238 | #endif |
| 239 | } |
| 240 | |
| 241 | inline uint32_t cpp::marshal::Marshal::readBigEndianUInt32(const View<uint8_t>& view) |
| 242 | { |