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

Function LVReadTextFile

crengine/src/lvxml.cpp:3850–3854  ·  view source on GitHub ↗

read file contents to string

Source from the content-addressed store, hash-verified

3848
3849/// read file contents to string
3850lString16 LVReadTextFile( lString16 filename )
3851{
3852 LVStreamRef stream = LVOpenFileStream( filename.c_str(), LVOM_READ );
3853 return LVReadTextFile( stream );
3854}
3855
3856lString16 LVReadTextFile( LVStreamRef stream )
3857{

Callers 3

LVLoadStylesheetFileFunction · 0.85
applyNodeStylesheetMethod · 0.85

Calls 8

LVOpenFileStreamFunction · 0.85
lString16Class · 0.85
AutodetectEncodingMethod · 0.80
ReadLineMethod · 0.80
c_strMethod · 0.45
isNullMethod · 0.45
EofMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected