MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / serialize

Function serialize

example/cacheHierarchy/fkYAML/node.hpp:10782–10786  ·  view source on GitHub ↗

@brief Serialize the given Node value. @param node A Node object to be serialized. @return std::string A serialization result of the given Node value.

Source from the content-addressed store, hash-verified

10780 /// @param node A Node object to be serialized.
10781 /// @return std::string A serialization result of the given Node value.
10782 std::string serialize(const BasicNodeType& node) {
10783 std::string str {};
10784 serialize_document(node, str);
10785 return str;
10786 } // LCOV_EXCL_LINE
10787
10788 std::string serialize_docs(const std::vector<BasicNodeType>& docs) {
10789 std::string str {};

Callers 1

node.hppFile · 0.85

Calls 1

serializeMethod · 0.45

Tested by

no test coverage detected