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

Method read

bwapi/Util/Source/Util/MemoryFrame.cpp:108–113  ·  view source on GitHub ↗

----------------------- READ ---------------------------------------

Source from the content-addressed store, hash-verified

106 }
107 //----------------------- READ ---------------------------------------
108 MemoryFrame MemoryFrame::read(int bytes)
109 {
110 MemoryFrame retval = this->getSubFrame(0, bytes);
111 this->skip(bytes);
112 return retval;
113 }
114 //----------------------- WRITE --------------------------------------
115 void MemoryFrame::write(const MemoryFrame &source)
116 {

Callers

nothing calls this directly

Calls 2

getSubFrameMethod · 0.95
skipMethod · 0.95

Tested by

no test coverage detected