MCPcopy Create free account
hub / github.com/apache/arrow / FromLittleEndian

Function FromLittleEndian

cpp/src/arrow/util/float16.h:64–66  ·  view source on GitHub ↗

\brief Read a `Float16` from memory in little-endian byte order

Source from the content-addressed store, hash-verified

62
63 /// \brief Read a `Float16` from memory in little-endian byte order
64 static Float16 FromLittleEndian(const uint8_t* src) {
65 return FromBits(::arrow::bit_util::FromLittleEndian(SafeLoadAs<uint16_t>(src)));
66 }
67
68 /// \brief Read a `Float16` from memory in big-endian byte order
69 static Float16 FromBigEndian(const uint8_t* src) {

Callers

nothing calls this directly

Calls 1

FromBitsFunction · 0.85

Tested by

no test coverage detected