MCPcopy Create free account
hub / github.com/catboost/catboost / Save

Method Save

util/ysaveload.cpp:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <util/generic/buffer.h>
4
5void TSerializer<TBuffer>::Save(IOutputStream* rh, const TBuffer& buf) {
6 ::SaveSize(rh, buf.Size());
7 ::SavePodArray(rh, buf.Data(), buf.Size());
8}
9
10void TSerializer<TBuffer>::Load(IInputStream* rh, TBuffer& buf) {
11 const size_t s = ::LoadSize(rh);

Callers 1

ProcessFileFunction · 0.45

Calls 4

SaveSizeFunction · 0.85
SavePodArrayFunction · 0.85
SizeMethod · 0.45
DataMethod · 0.45

Tested by

no test coverage detected