MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / Purge

Method Purge

cpp/src/platform/Stream.cpp:183–190  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Empty the data buffer -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

181// Empty the data buffer
182//-----------------------------------------------------------------------------
183void Stream::Purge
184(
185)
186{
187 m_tail = 0;
188 m_head = 0;
189 m_dataSize = 0;
190}
191
192//-----------------------------------------------------------------------------
193// <Stream::IsSignalled>

Callers 1

ReadMsgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected