MCPcopy Create free account
hub / github.com/cinder/Cinder / createBuffer

Method createBuffer

src/cinder/DataSource.cpp:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void DataSourcePath::createBuffer()
77{
78 // no-op - we already supplied the buffer in the constructor
79 IStreamFileRef stream = loadFileStream( mFilePath );
80 if( ! stream )
81 throw StreamExc();
82
83 mBuffer = loadStreamBuffer( stream );
84}
85
86IStreamRef DataSourcePath::createStream()
87{

Callers

nothing calls this directly

Calls 5

loadFileStreamFunction · 0.85
loadStreamBufferFunction · 0.85
loadAndroidAssetStreamFunction · 0.85
loadUrlStreamFunction · 0.85
stringMethod · 0.45

Tested by

no test coverage detected