GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-a1cfe415e
cmprlz4.c File Reference
#include <grass/config.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "lz4.h"
Include dependency graph for cmprlz4.c:

Go to the source code of this file.

Functions

int G_lz4_compress_bound (int src_sz)
 
int G_lz4_compress (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz)
 
int G_lz4_expand (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz)
 

Function Documentation

◆ G_lz4_compress()

int G_lz4_compress ( unsigned char *  src,
int  src_sz,
unsigned char *  dst,
int  dst_sz 
)

Definition at line 80 of file cmprlz4.c.

◆ G_lz4_compress_bound()

int G_lz4_compress_bound ( int  src_sz)

Definition at line 71 of file cmprlz4.c.

References LZ4_compressBound().

◆ G_lz4_expand()

int G_lz4_expand ( unsigned char *  src,
int  src_sz,
unsigned char *  dst,
int  dst_sz 
)

Definition at line 148 of file cmprlz4.c.