MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / length

Method length

extlibs/soloud/src/core/soloud_file.cpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 unsigned int DiskFile::length()
68 {
69 if (!mFileHandle)
70 return 0;
71 int pos = ftell(mFileHandle);
72 fseek(mFileHandle, 0, SEEK_END);
73 int len = ftell(mFileHandle);
74 fseek(mFileHandle, pos, SEEK_SET);
75 return len;
76 }
77
78 void DiskFile::seek(int aOffset)
79 {

Callers 15

occurencesInStringFunction · 0.45
replaceInPlaceFunction · 0.45
replaceFunction · 0.45
isDebuggerActiveFunction · 0.45
is_like_std_stringClass · 0.45
openToMemMethod · 0.45
openFileToMemMethod · 0.45
Soloud_Filehack_fseekFunction · 0.45
WavStreamInstanceMethod · 0.45
loadwavMethod · 0.45
loadoggMethod · 0.45
loadmp3Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected