MCPcopy Create free account
hub / github.com/OSGeo/PROJ / read

Method read

src/filemanager.cpp:632–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630// ---------------------------------------------------------------------------
631
632size_t FileWin32::read(void *buffer, size_t sizeBytes) {
633 DWORD dwSizeRead = 0;
634 size_t nResult = 0;
635
636 if (!ReadFile(m_handle, buffer, static_cast<DWORD>(sizeBytes), &dwSizeRead,
637 nullptr))
638 nResult = 0;
639 else
640 nResult = dwSizeRead;
641
642 return nResult;
643}
644
645// ---------------------------------------------------------------------------
646

Callers 10

openMethod · 0.45
valueAtMethod · 0.45
tiffReadProcMethod · 0.45
pj_load_iniFunction · 0.45
mainFunction · 0.45
buildObjectFunction · 0.45
defmodel.cppFile · 0.45
tinshift.cppFile · 0.45
ingest_sqlite_dumpFunction · 0.45

Calls

no outgoing calls

Tested by 1