MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / readBigEndianFloat32

Method readBigEndianFloat32

include/cpp/marshal/Marshal.hpp:259–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259inline float cpp::marshal::Marshal::readBigEndianFloat32(const View<uint8_t>& view)
260{
261#ifdef HXCPP_BIG_ENDIAN
262 return readFloat32(view);
263#else
264 return reverse(readFloat32(view));
265#endif
266}
267
268inline double cpp::marshal::Marshal::readBigEndianFloat64(const View<uint8_t>& view)
269{

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected