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

Method SerializeToString

cpp/src/parquet/thrift_internal.h:691–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689
690 template <class T>
691 std::string_view SerializeToString(const T* obj) {
692 SerializeObject(obj);
693 uint8_t* data;
694 uint32_t data_len;
695 mem_buffer_->getBuffer(&data, &data_len);
696 return std::string_view(reinterpret_cast<const char*>(data), data_len);
697 }
698
699 template <class T>
700 int64_t Serialize(const T* obj, ArrowOutputStream* out,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected