| 704 | inline bool operator!=(const Int96& left, const Int96& right) { return !(left == right); } |
| 705 | |
| 706 | static inline std::string ByteArrayToString(const ByteArray& a) { |
| 707 | return std::string(reinterpret_cast<const char*>(a.ptr), a.len); |
| 708 | } |
| 709 | |
| 710 | static inline void Int96SetNanoSeconds(parquet::Int96& i96, int64_t nanoseconds) { |
| 711 | std::memcpy(&i96.value, &nanoseconds, sizeof(nanoseconds)); |