MCPcopy Create free account
hub / github.com/RenderKit/embree / readUInt

Function readUInt

tutorials/common/image/tinyexr.h:2991–2996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2989}
2990
2991static unsigned int readUInt(const char buf[4]) {
2992 const unsigned char *b = (const unsigned char *)buf;
2993
2994 return (b[0] & 0x000000ff) | ((b[1] << 8) & 0x0000ff00) |
2995 ((b[2] << 16) & 0x00ff0000) | ((b[3] << 24) & 0xff000000);
2996}
2997
2998//
2999// EXTERNAL INTERFACE

Callers 1

hufUncompressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected