MCPcopy Create free account
hub / github.com/DFHack/dfhack / lodepng_read32bitInt

Function lodepng_read32bitInt

depends/lodepng/lodepng.cpp:322–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321#if defined(LODEPNG_COMPILE_DECODER) || defined(LODEPNG_COMPILE_PNG)
322static unsigned lodepng_read32bitInt(const unsigned char* buffer) {
323 return (((unsigned)buffer[0] << 24u) | ((unsigned)buffer[1] << 16u) |
324 ((unsigned)buffer[2] << 8u) | (unsigned)buffer[3]);
325}
326#endif /*defined(LODEPNG_COMPILE_DECODER) || defined(LODEPNG_COMPILE_PNG)*/
327
328#if defined(LODEPNG_COMPILE_PNG) || defined(LODEPNG_COMPILE_ENCODER)

Callers 4

lodepng_zlib_decompressvFunction · 0.85
lodepng_chunk_lengthFunction · 0.85
lodepng_chunk_check_crcFunction · 0.85
lodepng_inspectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected