I have the following C function that takes in an array compressed by the zfp library, and attempts to decompress it.
int EMSCRIPTEN_KEEPALIVE zfpDecompress(int pr