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

Method Save

libs/indexer/data_header.cpp:94–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void DataHeader::Save(FileWriter & w) const
95{
96 m_codingParams.Save(w);
97
98 WriteVarInt(w, m_bounds.first);
99 WriteVarInt(w, m_bounds.second);
100
101 SaveBytes(w, m_scales);
102 SaveBytes(w, m_langs);
103
104 WriteVarInt(w, static_cast<int32_t>(m_type));
105}
106
107void DataHeader::Load(FilesContainerR const & cont)
108{

Callers 1

FreezeMethod · 0.45

Calls 2

WriteVarIntFunction · 0.85
SaveBytesFunction · 0.85

Tested by

no test coverage detected