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

Method readLittleEndianPointer

include/cpp/marshal/Marshal.hpp:278–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276
277template<class T>
278inline ::cpp::Pointer<T> cpp::marshal::Marshal::readLittleEndianPointer(const View<uint8_t>& view)
279{
280#ifndef HXCPP_BIG_ENDIAN
281 return readPointer<T*>(view);
282#else
283 return reverse(readPointer<T*>(view));
284#endif
285}
286
287inline int16_t cpp::marshal::Marshal::readLittleEndianInt16(const View<uint8_t>& view)
288{

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected