| 239 | } |
| 240 | |
| 241 | inline uint32_t cpp::marshal::Marshal::readBigEndianUInt32(const View<uint8_t>& view) |
| 242 | { |
| 243 | #ifdef HXCPP_BIG_ENDIAN |
| 244 | return readUInt32(view); |
| 245 | #else |
| 246 | return reverse(readUInt32(view)); |
| 247 | #endif |
| 248 | } |
| 249 | |
| 250 | inline uint64_t cpp::marshal::Marshal::readBigEndianUInt64(const View<uint8_t>& view) |
| 251 | { |