| 334 | /* ////////////////////////////////////////////////////////////////////////// */ |
| 335 | |
| 336 | unsigned 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*/ |
no outgoing calls
no test coverage detected