| 248 | } |
| 249 | |
| 250 | inline uint64_t cpp::marshal::Marshal::readBigEndianUInt64(const View<uint8_t>& view) |
| 251 | { |
| 252 | #ifdef HXCPP_BIG_ENDIAN |
| 253 | return readInt64(view); |
| 254 | #else |
| 255 | return reverse(readUInt64(view)); |
| 256 | #endif |
| 257 | } |
| 258 | |
| 259 | inline float cpp::marshal::Marshal::readBigEndianFloat32(const View<uint8_t>& view) |
| 260 | { |