MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / zip_read_u32le

Function zip_read_u32le

src/cli/cli.c:6279–6283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6277}
6278
6279static uint32_t zip_read_u32le(const unsigned char *p) {
6280 return ((uint32_t)p[0]) | ((uint32_t)p[1] << BYTE_SHIFT) |
6281 ((uint32_t)p[2] << (BYTE_SHIFT * CLI_PAIR_LEN)) |
6282 ((uint32_t)p[3] << (BYTE_SHIFT * CLI_JSON_INDENT));
6283}
6284
6285/* Decompress a single zip entry (stored or deflated). Returns malloc'd buffer
6286 * or NULL on failure. *out_len receives the decompressed size. */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected