MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / lodepng_read32bitInt

Function lodepng_read32bitInt

dependency/densecrf/examples/lodepng.cpp:320–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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