MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / lodepng_read32bitInt

Function lodepng_read32bitInt

samples/shared/lodepng.cpp:336–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334/* ////////////////////////////////////////////////////////////////////////// */
335
336unsigned lodepng_read32bitInt(const unsigned char* buffer)
337{
338 return (unsigned)((buffer[0] << 24) | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]);
339}
340
341#if defined(LODEPNG_COMPILE_PNG) || defined(LODEPNG_COMPILE_ENCODER)
342/*buffer must have at least 4 allocated bytes available*/

Callers 4

lodepng_zlib_decompressFunction · 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