MCPcopy Create free account
hub / github.com/beefytech/Beef / GetStreamPtr

Method GetStreamPtr

IDEHelper/Linker/BlCodeView.cpp:315–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void* BlCvStreamWriter::GetStreamPtr(int pos)
316{
317 int blockNum = mCurStream->mBlocks[pos / CV_BLOCK_SIZE];
318 auto data = (uint8*)mMsf->mBlocks[blockNum]->mData;
319 return (uint8*)data + (pos % CV_BLOCK_SIZE);
320}
321
322//////////////////////////////////////////////////////////////////////////
323

Callers 2

EndSectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected