| 83 | |
| 84 | template <class PBType, class T> |
| 85 | arrow::Status DeserializeProtoString(const char* name, std::string_view serialized, |
| 86 | T* out) { |
| 87 | PBType pb; |
| 88 | RETURN_NOT_OK(ParseFromString(name, serialized, &pb)); |
| 89 | return internal::FromProto(pb, out); |
| 90 | } |
| 91 | |
| 92 | template <class PBType, class T> |
| 93 | Status SerializeToProtoString(const char* name, const T& in, std::string* out) { |
nothing calls this directly
no test coverage detected