nn::cx::SecureUncompressAny Function| Name | Description | |
|---|---|---|
| in | srcp | Compressed data address. |
| in | srcSize | Compressed data size. |
| out | destp | Decompressed data address. |
0 if the conversion succeeds, and a negative error code if it fails. Detects the compression format from the data header and executes the appropriate decompression process while checking for errors.
Because they do not have headers, LZ backward compressed files (BLZ) cannot be handled by this API. In addition, LH and LRC files that require a work buffer cannot be handled by this API.
This function results in the linkage of the decompression code for all compression types. If you are using specific compression formats, we recommend using the decompression functions applicable to those formats.
CONFIDENTIAL