nn::cx::GetCompressionType Function

Syntax

#include <nn/cx.h>

CompressionType GetCompressionType(
     const void * pData
);

Parameters

Name Description
in pData Pointer to the first byte of data in the compressed data.

Return Values

Returns the compression type.

Description

Gets the compression type from the first byte in the compressed data.

The following formats are not handled by this function.
- Backward LZ compressed data (BLZ)
- deflate compressed data in gzip format
- deflate compressed data in zlib format

Revision History

2010/11/10
Initial version.

CONFIDENTIAL