MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / Size

Method Size

SampleFramework11/v1.02/FileIO.cpp:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218uint64 File::Size() const
219{
220 Assert_(fileHandle != INVALID_HANDLE_VALUE);
221
222 LARGE_INTEGER fileSize;
223 Win32Call(GetFileSizeEx(fileHandle, &fileSize));
224
225 return fileSize.QuadPart;
226}
227
228}

Callers 3

InitMethod · 0.45
ReadFileAsStringFunction · 0.45
SerializedValueSizeMethod · 0.45

Calls 1

Win32CallFunction · 0.85

Tested by

no test coverage detected