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

Method SkipRead

src/ByteBuffer.cpp:778–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776
777
778bool cByteBuffer::SkipRead(size_t a_Count)
779{
780 CHECK_THREAD;
781 CheckValid();
782 if (!CanReadBytes(a_Count))
783 {
784 return false;
785 }
786 AdvanceReadPos(a_Count);
787 return true;
788}
789
790
791

Callers 4

ParseItemMethod · 0.80
AddReceivedDataMethod · 0.80
ParseMetadataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected