Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIAGameWorks/Falcor
/ read
Method
read
Source/Falcor/Utils/Image/Bitmap.cpp:64–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
}
63
64
virtual bool read(char c[/*n*/], int n)
65
{
66
if (mOffset + size_t(n) > mFile.getSize())
67
return false;
68
memcpy(c, mFileData + mOffset, n);
69
mOffset += n;
70
return true;
71
}
72
73
virtual uint64_t tellg() { return mOffset; }
74
Callers
1
loadFromFile
Method · 0.45
Calls
1
getSize
Method · 0.45
Tested by
no test coverage detected