MCPcopy Create free account
hub / github.com/cuberite/cuberite / CheckValid

Method CheckValid

src/ByteBuffer.cpp:888–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886
887
888void cByteBuffer::CheckValid(void) const
889{
890 ASSERT(m_ReadPos >= 0);
891 ASSERT(m_ReadPos < m_BufferSize);
892 ASSERT(m_WritePos >= 0);
893 ASSERT(m_WritePos < m_BufferSize);
894}
895
896
897

Callers 1

ParsePluginMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected