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

Function ByteArrayToString

cpp/src/parquet/types.h:714–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

FormatValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected