MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / lodepng_read32bitInt

Function lodepng_read32bitInt

src/lodepng.cpp:319–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317/* ////////////////////////////////////////////////////////////////////////// */
318
319unsigned lodepng_read32bitInt(const unsigned char* buffer)
320{
321 return (buffer[0] << 24) | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3];
322}
323
324#if defined(LODEPNG_COMPILE_PNG) || defined(LODEPNG_COMPILE_ENCODER)
325/*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