| 712 | inline bool operator!=(const Int96& left, const Int96& right) { return !(left == right); } |
| 713 | |
| 714 | static inline std::string ByteArrayToString(const ByteArray& a) { |
| 715 | return std::string(reinterpret_cast<const char*>(a.ptr), a.len); |
| 716 | } |
| 717 | |
| 718 | static inline void Int96SetNanoSeconds(parquet::Int96& i96, int64_t nanoseconds) { |
| 719 | std::memcpy(&i96.value, &nanoseconds, sizeof(nanoseconds)); |