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

Function FromBigEndian

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

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

Source from the content-addressed store, hash-verified

67
68 /// \brief Read a `Float16` from memory in big-endian byte order
69 static Float16 FromBigEndian(const uint8_t* src) {
70 return FromBits(::arrow::bit_util::FromBigEndian(SafeLoadAs<uint16_t>(src)));
71 }
72
73 /// \brief Return the value's binary representation as a `uint16_t`
74 constexpr uint16_t bits() const { return bits_; }

Callers

nothing calls this directly

Calls 1

FromBitsFunction · 0.85

Tested by

no test coverage detected