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

Method did_write

src/common/MemoryStreams.cpp:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void CircularBuffer::did_write(size_t count) {
101 write_pos += count;
102 invariant(write_pos <= read_pos + impl.size(), "Writing past end of Buffer");
103}
104
105void CircularBuffer::did_read(size_t count) {
106 read_pos += count;

Callers 1

handle_readMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected