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

Method readBigEndianUInt16

include/cpp/marshal/Marshal.hpp:232–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232inline uint16_t cpp::marshal::Marshal::readBigEndianUInt16(const View<uint8_t>& view)
233{
234#ifdef HXCPP_BIG_ENDIAN
235 return readUInt16(view);
236#else
237 return reverse(readUInt16(view));
238#endif
239}
240
241inline uint32_t cpp::marshal::Marshal::readBigEndianUInt32(const View<uint8_t>& view)
242{

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected