MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / Read8

Function Read8

ext/sampleicc/src/include/iccProfileReader.h:144–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 icInt32Number Read8(std::istream & istream, void *pBuf, icInt32Number num)
145 {
146 if (!istream.good())
147 return 0;
148
149 char * pBufChar = (char *)pBuf;
150 istream.read(pBufChar, num);
151
152 if (!istream.good())
153 return 0;
154
155 return (icInt32Number)num;
156 }
157
158 icInt32Number Read64(std::istream & istream, void * pBuf64, icInt32Number num)
159 {

Callers 5

ReadInfoMethod · 0.85
Read64Function · 0.85
Read32Function · 0.85
Read16Function · 0.85
ReadMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected