MCPcopy Create free account
hub / github.com/bwapi/bwapi / skip

Method skip

bwapi/Util/Source/Util/MemoryFrame.cpp:99–106  ·  view source on GitHub ↗

----------------------- SKIP ---------------------------------------

Source from the content-addressed store, hash-verified

97 }
98 //----------------------- SKIP ---------------------------------------
99 void MemoryFrame::skip(unsigned int bytes)
100 {
101 if(bytes > this->frameSize)
102 bytes = this->frameSize;
103 this->frameBase = (void*)((int)this->frameBase + bytes);
104 this->frameSize -= bytes;
105 return;
106 }
107 //----------------------- READ ---------------------------------------
108 MemoryFrame MemoryFrame::read(int bytes)
109 {

Callers 2

readMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected