MCPcopy Create free account
hub / github.com/Kitware/VTK / read

Method read

ThirdParty/libproj/vtklibproj/src/filemanager.cpp:614–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612// ---------------------------------------------------------------------------
613
614size_t FileWin32::read(void *buffer, size_t sizeBytes) {
615 DWORD dwSizeRead = 0;
616 size_t nResult = 0;
617
618 if (!ReadFile(m_handle, buffer, static_cast<DWORD>(sizeBytes), &dwSizeRead,
619 nullptr))
620 nResult = 0;
621 else
622 nResult = dwSizeRead;
623
624 return nResult;
625}
626
627// ---------------------------------------------------------------------------
628

Callers 6

openMethod · 0.45
valueAtMethod · 0.45
tiffReadProcMethod · 0.45
pj_load_iniFunction · 0.45
defmodel.cppFile · 0.45
tinshift.cppFile · 0.45

Calls 1

ReadFileFunction · 0.50

Tested by

no test coverage detected