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

Method readLittleEndianInt16

include/cpp/marshal/Marshal.hpp:287–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287inline int16_t cpp::marshal::Marshal::readLittleEndianInt16(const View<uint8_t>& view)
288{
289#ifndef HXCPP_BIG_ENDIAN
290 return readInt16(view);
291#else
292 return reverse(readInt16(view));
293#endif
294}
295
296inline int32_t cpp::marshal::Marshal::readLittleEndianInt32(const View<uint8_t>& view)
297{

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected