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

Method write

bwapi/Util/Source/Util/MemoryFrame.cpp:115–122  ·  view source on GitHub ↗

----------------------- WRITE --------------------------------------

Source from the content-addressed store, hash-verified

113 }
114 //----------------------- WRITE --------------------------------------
115 void MemoryFrame::write(const MemoryFrame &source)
116 {
117 unsigned int bytes = source.size();
118 if(bytes > size())
119 bytes = size();
120 ::memcpy(this->begin(), source.begin(), bytes);
121 this->skip(bytes);
122 }
123 //----------------------- LIMIT --------------------------------------
124 int MemoryFrame::_limit(int a, int low, int hi)
125 {

Callers 7

sendAsynMethod · 0.45
sendAsynMethod · 0.45
startAdvertisingMethod · 0.45
passAdvertisementFunction · 0.45
modifyPageFunction · 0.45
taFunction · 0.45

Calls 3

beginMethod · 0.95
skipMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected