#include <stdlib.h>
#include <string.h>
#include "lz4.h"
#include "lz4file.h"
Go to the source code of this file.
◆ LZ4F_read()
size_t LZ4F_read |
( |
LZ4_readFile_t * |
lz4fRead, |
|
|
void * |
buf, |
|
|
size_t |
size |
|
) |
| |
LZ4F_read() : Read lz4file content to buffer. lz4f
must use LZ4_readOpen to set first. buf
read data buffer. size
read data buffer size.
Definition at line 126 of file lz4file.c.
◆ LZ4F_readClose()
◆ LZ4F_readOpen()
LZ4F_readOpen() : Set read lz4file handle. lz4f
will set a lz4file handle. fp
must be the return value of the lz4 file opened by fopen.
Definition at line 57 of file lz4file.c.
◆ LZ4F_write()
LZ4F_write() : Write buffer to lz4file. lz4f
must use LZ4F_writeOpen to set first. buf
write data buffer. size
write data buffer size.
Definition at line 250 of file lz4file.c.
◆ LZ4F_writeClose()
◆ LZ4F_writeOpen()
LZ4F_writeOpen() : Set write lz4file handle. lz4f
will set a lz4file handle. fp
must be the return value of the lz4 file opened by fopen.
Definition at line 181 of file lz4file.c.