MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / insert

Method insert

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

Source from the content-addressed store, hash-verified

243 reference operator[](size_type pos) { return vch[pos + nReadPos]; }
244 void clear() { vch.clear(); nReadPos = 0; }
245 iterator insert(iterator it, const char x=char()) { return vch.insert(it, x); }
246 void insert(iterator it, size_type n, const char x) { vch.insert(it, n, x); }
247 value_type* data() { return vch.data() + nReadPos; }
248 const value_type* data() const { return vch.data() + nReadPos; }

Callers 4

writeMethod · 0.45
CDataStreamClass · 0.45
writeMethod · 0.45
GetAndClearMethod · 0.45

Calls 2

memcpyFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected