MCPcopy 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
140void StreamReadContext::DropData(size_t count)
141{
142 ASSERT(count <= Size);
143 memmove(Buffer, Buffer + count, Size - count);
144 Size -= count;
145}

Callers 2

ReadLineMethod · 0.80
ReadStringFromStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected