MCPcopy Create free account
hub / github.com/bcndev/bytecoin / write_count2

Method write_count2

src/common/MemoryStreams.hpp:170–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 size_t read_count2() const { return write_pos < impl.size() ? 0 : write_pos - impl.size(); }
169 const unsigned char *read_ptr2() { return impl.data(); }
170 size_t write_count2() const { return write_pos < impl.size() ? read_pos : 0; }
171 unsigned char *write_ptr2() { return impl.data(); }
172
173 void copy_from(IInputStream &in);

Callers 1

start_readMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected