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

Method serialize

cpp/fory/serialization/fory.h:939–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

937public:
938 template <typename T>
939 Result<std::vector<uint8_t>, Error> serialize(const T &obj) {
940 auto fory_handle = fory_pool_.acquire();
941 return fory_handle->serialize(obj);
942 }
943
944 template <typename T>
945 Result<size_t, Error> serialize(OutputStream &output_stream, const T &obj) {

Callers

nothing calls this directly

Calls 2

serializeMethod · 0.65
acquireMethod · 0.45

Tested by

no test coverage detected