MCPcopy Create free account
hub / github.com/apache/fory / serialize_to

Method serialize_to

cpp/fory/serialization/fory.h:957–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955
956 template <typename T>
957 Result<size_t, Error> serialize_to(Buffer &buffer, const T &obj) {
958 auto fory_handle = fory_pool_.acquire();
959 return fory_handle->serialize_to(buffer, obj);
960 }
961
962 template <typename T>
963 Result<size_t, Error> serialize_to(std::vector<uint8_t> &output,

Callers

nothing calls this directly

Calls 2

acquireMethod · 0.45
serialize_toMethod · 0.45

Tested by

no test coverage detected