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

Method Write

libs/coding/writer.hpp:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 void Write(void const * p, size_t size) override
134 {
135 ASSERT_EQUAL(m_offset, GetOffset(), ());
136 m_writer.Write(p, size);
137
138 m_pos += size;
139 m_maxPos = std::max(m_maxPos, m_pos);
140 }
141
142 uint64_t Size() const { return m_maxPos; }
143

Callers 2

WriteMethod · 0.45
WriteMethod · 0.45

Calls 1

GetOffsetFunction · 0.85

Tested by

no test coverage detected