\brief Read a `Float16` from memory in little-endian byte order
| 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) { |
nothing calls this directly
no test coverage detected