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

Method readBigEndianPointer

include/cpp/marshal/Marshal.hpp:196–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195template<class T>
196inline ::cpp::Pointer<T> cpp::marshal::Marshal::readBigEndianPointer(const View<uint8_t>& view)
197{
198#ifdef HXCPP_BIG_ENDIAN
199 return readPointer<T*>(view);
200#else
201 return reverse(readPointer<T*>(view));
202#endif
203}
204
205inline int16_t cpp::marshal::Marshal::readBigEndianInt16(const View<uint8_t>& view)
206{

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected