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

Method Read

libs/coding/parse_xml.hpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 SequenceAdapter(Source & source) : m_source(source) {}
55
56 uint64_t Read(void * p, uint64_t size)
57 {
58 size_t const correctSize = static_cast<size_t>(std::min(size, m_source.Size()));
59 m_source.Read(p, correctSize);
60 return correctSize;
61 }
62
63private:
64 Source & m_source;

Callers 2

ReadMethod · 0.45
ParseXMLFunction · 0.45

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected