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

Method CanWriteBytes

src/ByteBuffer.cpp:286–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284
285
286bool cByteBuffer::CanWriteBytes(size_t a_Count) const
287{
288 CHECK_THREAD;
289 CheckValid();
290 return (a_Count <= GetFreeSpace());
291}
292
293
294

Callers 1

ReadToByteBufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected