MCPcopy Create free account
hub / github.com/buggins/coolreader / LVCreateBlockWriteStream

Function LVCreateBlockWriteStream

crengine/src/lvstream.cpp:4231–4236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4229};
4230
4231LVStreamRef LVCreateBlockWriteStream( LVStreamRef baseStream, int blockSize, int blockCount )
4232{
4233 if ( baseStream.isNull() || baseStream->GetMode()==LVOM_READ )
4234 return baseStream;
4235 return LVStreamRef( new LVBlockWriteStream(baseStream, blockSize, blockCount) );
4236}
4237
4238
4239

Callers 3

openExistingMethod · 0.85
createNewMethod · 0.85
runBlockWriteCacheTestFunction · 0.85

Calls 2

isNullMethod · 0.45
GetModeMethod · 0.45

Tested by

no test coverage detected