Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
100
void 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
105
void CircularBuffer::did_read(size_t count) {
106
read_pos += count;
Callers
1
handle_read
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected