MCPcopy Create free account
hub / github.com/ElementsProject/elements / empty

Method empty

src/streams.h:238–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 iterator end() { return vch.end(); }
237 size_type size() const { return vch.size() - m_read_pos; }
238 bool empty() const { return vch.size() == m_read_pos; }
239 void resize(size_type n, value_type c = value_type{}) { vch.resize(n + m_read_pos, c); }
240 void reserve(size_type n) { vch.reserve(n + m_read_pos); }
241 const_reference operator[](size_type pos) const { return vch[pos + m_read_pos]; }

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected