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

Method seekRelative

src/cinder/Stream.cpp:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void IStreamFile::seekRelative( off_t relativeOffset )
226{
227 if( fseek( mFile, static_cast<long>( mBufferOffset + relativeOffset ), SEEK_SET ) )
228 throw StreamExc();
229 mBufferOffset = ftell( mFile );
230}
231
232off_t IStreamFile::tell() const
233{

Callers 7

loadStreamMethod · 0.45
decrunchScanlineFunction · 0.45
parseKtxFunction · 0.45
SeekMethod · 0.45
seekFnMethod · 0.45
seekMethod · 0.45
seekMethod · 0.45

Calls 1

seekAbsoluteFunction · 0.85

Tested by

no test coverage detected