| 6420 | } |
| 6421 | |
| 6422 | static uint32_t zip_read_u32le(const unsigned char *p) { |
| 6423 | return ((uint32_t)p[0]) | ((uint32_t)p[1] << BYTE_SHIFT) | |
| 6424 | ((uint32_t)p[2] << (BYTE_SHIFT * CLI_PAIR_LEN)) | |
| 6425 | ((uint32_t)p[3] << (BYTE_SHIFT * CLI_JSON_INDENT)); |
| 6426 | } |
| 6427 | |
| 6428 | /* Decompress a single zip entry (stored or deflated). Returns malloc'd buffer |
| 6429 | * or NULL on failure. *out_len receives the decompressed size. */ |
no outgoing calls
no test coverage detected