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

Method data

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

Source from the content-addressed store, hash-verified

242 reference operator[](size_type pos) { return vch[pos + m_read_pos]; }
243 void clear() { vch.clear(); m_read_pos = 0; }
244 value_type* data() { return vch.data() + m_read_pos; }
245 const value_type* data() const { return vch.data() + m_read_pos; }
246
247 inline void Compact()

Callers 7

writeMethod · 0.45
readMethod · 0.45
CDataStreamMethod · 0.45
readMethod · 0.45
readMethod · 0.45
writeMethod · 0.45
readMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected