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

Method readLittleEndianInt32

include/cpp/marshal/Marshal.hpp:296–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296inline int32_t cpp::marshal::Marshal::readLittleEndianInt32(const View<uint8_t>& view)
297{
298#ifndef HXCPP_BIG_ENDIAN
299 return readInt32(view);
300#else
301 return reverse(readInt32(view));
302#endif
303}
304
305inline int64_t cpp::marshal::Marshal::readLittleEndianInt64(const View<uint8_t>& view)
306{

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected