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

Method SerializeForMwmTmp

libs/indexer/feature_meta.hpp:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27 template <class Sink>
28 void SerializeForMwmTmp(Sink & sink) const
29 {
30 auto const sz = static_cast<uint32_t>(m_metadata.size());
31 WriteVarUint(sink, sz);
32 for (auto const & it : m_metadata)
33 {
34 WriteVarUint(sink, static_cast<uint32_t>(it.first));
35 rw::WriteNonEmpty(sink, it.second);
36 }
37 }
38
39 template <class Source>
40 void DeserializeFromMwmTmp(Source & src)

Callers 3

SerializeAddressMethod · 0.80
WriteMethod · 0.80
UNIT_TESTFunction · 0.80

Calls 3

WriteVarUintFunction · 0.85
WriteNonEmptyFunction · 0.85
sizeMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.64