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

Function SerializeToString

cpp/src/arrow/flight/types.cc:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75template <class PBType, class T>
76Status SerializeToString(const char* name, const T& in, PBType* out_pb,
77 std::string* out) {
78 RETURN_NOT_OK(internal::ToProto(in, out_pb));
79 return out_pb->SerializeToString(out) ? Status::OK() : ProtoStringOutputTooBig(name);
80}
81
82// Result-returning ser/de functions (more convenient)
83

Callers

nothing calls this directly

Calls 4

ProtoStringOutputTooBigFunction · 0.85
ToProtoFunction · 0.70
OKFunction · 0.50
SerializeToStringMethod · 0.45

Tested by

no test coverage detected