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

Method ReaderStreamBuf

libs/coding/reader_streambuf.cpp:9–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <algorithm>
8
9ReaderStreamBuf::ReaderStreamBuf(std::unique_ptr<Reader> && p) : m_p(std::move(p)), m_pos(0), m_size(m_p->Size()) {}
10
11// Define destructor in .cpp due to using unique_ptr with incomplete type.
12ReaderStreamBuf::~ReaderStreamBuf() = default;

Callers

nothing calls this directly

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected