libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Go to the source code of this file.
Functions | |
int | gblCompress (const void *pSrc, void *pDst, size_t srcSize, size_t dstCapacity, int compressionLevel) |
int | gblDecompress (const void *pSrc, void *pDst, size_t srcSize, size_t dstCapacity) |
Low-level compression API.
This file contains the lowest-level core API for compression and decompression. It operates on raw byte buffers.
Definition in file gimbal_compression.h.
int gblCompress | ( | const void * | pSrc, |
void * | pDst, | ||
size_t | srcSize, | ||
size_t | dstCapacity, | ||
int | compressionLevel | ||
) |
Compresses the source buffer into the sized destination buffer, returning its actual compressed size.
int gblDecompress | ( | const void * | pSrc, |
void * | pDst, | ||
size_t | srcSize, | ||
size_t | dstCapacity | ||
) |
Decompresses the source buffer into the sized destination buffer, returning its actual decompressed size.