wavelength 1.0.0
Loading...
Searching...
No Matches
loadfile.h
Go to the documentation of this file.
1#pragma once
2
3extern "C" {
4
13void GzipInit();
14
30int GzipFdToRam(int nFile, void *pDest, int bCompress);
31
46int GzipDecompressRamToRam(const void *pSource, int nSourceLength, void *pDest);
47
59int GzipSizeDecompressed(const void *pSource, int nSourceLength);
60
73int GzipCompressRamToRam(const void *pSource, int nSourceLength, void *pDest);
74
87void GzipFileName(const char *pszFile, int bGenerated, char *pszOut);
88
89} // extern "C"
int GzipSizeDecompressed(const void *pSource, int nSourceLength)
Report the uncompressed length a gzip member in memory records in its trailer.
void GzipInit()
Mark the gzip module initialized.
int GzipFdToRam(int nFile, void *pDest, int bCompress)
Decompress or compress the gzip input to a buffer.
int GzipDecompressRamToRam(const void *pSource, int nSourceLength, void *pDest)
Inflate a gzip member that is already in memory, naming the input (in-memory).
void GzipFileName(const char *pszFile, int bGenerated, char *pszOut)
Write the name of the compressed copy of a file.
int GzipCompressRamToRam(const void *pSource, int nSourceLength, void *pDest)
Deflate bytes in memory into a gzip member, naming the input (in-memory).