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

Function Read

libs/coding/files_container.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24template <typename Source, typename Info>
25void Read(Source & src, Info & i)
26{
27 rw::Read(src, i.m_tag);
28
29 i.m_offset = ReadVarUint<uint64_t>(src);
30 i.m_size = ReadVarUint<uint64_t>(src);
31}
32
33template <typename Sink, typename Info>
34void Write(Sink & sink, Info const & i)

Callers 5

ReadInfoMethod · 0.70
ReadAsStringMethod · 0.70
ReadAtMost32BitsMethod · 0.70
ReadAtMost64BitsMethod · 0.70
TestIntegralFunction · 0.50

Calls

no outgoing calls

Tested by 1

TestIntegralFunction · 0.40