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

Function LVCreateFileCopyImageSource

crengine/src/lvimg.cpp:1452–1455  ·  view source on GitHub ↗

creates image source as memory copy of file contents

Source from the content-addressed store, hash-verified

1450
1451/// creates image source as memory copy of file contents
1452LVImageSourceRef LVCreateFileCopyImageSource( lString16 fname )
1453{
1454 return LVCreateStreamImageSource( LVCreateMemoryStream(fname) );
1455}
1456
1457/// creates image source as memory copy of stream contents
1458LVImageSourceRef LVCreateStreamCopyImageSource( LVStreamRef stream )

Callers 3

cr3viewMethod · 0.85
mainFunction · 0.85
loadDefaultCoverMethod · 0.85

Calls 2

LVCreateMemoryStreamFunction · 0.85

Tested by

no test coverage detected