MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / Write

Method Write

include/dmlc/serializer.h:105–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103template<typename T>
104struct SaveLoadClassHandler {
105 inline static void Write(Stream *strm, const T &data) {
106 data.Save(strm);
107 }
108 inline static bool Read(Stream *strm, T *data) {
109 return data->Load(strm);
110 }

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.45

Tested by

no test coverage detected