MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / CaptureData

Function CaptureData

src/External/CascLib/src/CascRootFile_MNDX.cpp:257–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257static LPBYTE CaptureData(LPBYTE pbRootPtr, LPBYTE pbRootEnd, void * pvBuffer, size_t cbLength)
258{
259 // Check whether there is enough data in the buffer
260 if((pbRootPtr + cbLength) > pbRootEnd)
261 return NULL;
262
263 // Copy the data
264 memcpy(pvBuffer, pbRootPtr, cbLength);
265 return pbRootPtr + cbLength;
266}
267
268//-----------------------------------------------------------------------------
269// The TPathStop structure

Callers 3

LoadRootDataMethod · 0.85
CaptureRootHeaderMethod · 0.85
LoadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected