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

Method readBigEndianInt32

include/cpp/marshal/Marshal.hpp:214–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214inline int32_t cpp::marshal::Marshal::readBigEndianInt32(const View<uint8_t>& view)
215{
216#ifdef HXCPP_BIG_ENDIAN
217 return readInt32(view);
218#else
219 return reverse(readInt32(view));
220#endif
221}
222
223inline int64_t cpp::marshal::Marshal::readBigEndianInt64(const View<uint8_t>& view)
224{

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected