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

Method readBigEndianInt16

include/cpp/marshal/Marshal.hpp:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205inline int16_t cpp::marshal::Marshal::readBigEndianInt16(const View<uint8_t>& view)
206{
207#ifdef HXCPP_BIG_ENDIAN
208 return readInt16(view);
209#else
210 return reverse(readInt16(view));
211#endif
212}
213
214inline int32_t cpp::marshal::Marshal::readBigEndianInt32(const View<uint8_t>& view)
215{

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected