Compressed/Uncompressed now returns Result<~[u8], Error> with corresponding error if the C function don't return Z_OK