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

Method read

bwapi/Storm/storm.h:1350–1356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1348 }
1349
1350 bool read(void *buffer, size_t buffSize) const
1351 {
1352 DWORD read = 0;
1353 BOOL result = SFileReadFile(hFile, buffer, buffSize, &read, 0);
1354
1355 return result != FALSE && read == buffSize;
1356 }
1357
1358 bool isValid() const { return valid && hFile; }
1359 explicit operator bool() const { return isValid(); }

Callers 1

modifyPageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected