Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ DropData
Method
DropData
lib/base/stream.cpp:140–145 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
138
}
139
140
void StreamReadContext::DropData(size_t count)
141
{
142
ASSERT(count <= Size);
143
memmove(Buffer, Buffer + count, Size - count);
144
Size -= count;
145
}
Callers
2
ReadLine
Method · 0.80
ReadStringFromStream
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected