Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
103
template<typename T>
104
struct 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
Save
Method · 0.45
Tested by
no test coverage detected