MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / rnc_ulen

Function rnc_ulen

Source/Amiga/dernc.cpp:73–78  ·  view source on GitHub ↗

* Return the uncompressed length of a packed data block, or a * negative error code. */

Source from the content-addressed store, hash-verified

71 * negative error code.
72 */
73long rnc_ulen (void *packed) {
74 unsigned char *p = (unsigned char*) packed;
75 if (blong (p) != RNC_SIGNATURE)
76 return RNC_FILE_IS_NOT_RNC;
77 return blong (p+4);
78}
79
80/*
81 * Decompress a packed data block. Returns the unpacked length if

Callers

nothing calls this directly

Calls 1

blongFunction · 0.85

Tested by

no test coverage detected