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

Function FromBytes

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

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

Source from the content-addressed store, hash-verified

57
58 /// \brief Read a `Float16` from memory in native-endian byte order
59 static Float16 FromBytes(const uint8_t* src) {
60 return FromBits(SafeLoadAs<uint16_t>(src));
61 }
62
63 /// \brief Read a `Float16` from memory in little-endian byte order
64 static Float16 FromLittleEndian(const uint8_t* src) {

Callers 1

TESTFunction · 0.85

Calls 1

FromBitsFunction · 0.85

Tested by 1

TESTFunction · 0.68