#include <stdio.h>
#include "lz4frame_static.h"
Go to the source code of this file.
◆ LZ4FILE_H
◆ LZ4_readFile_t
◆ LZ4_writeFile_t
◆ LZ4F_read()
LZ4FLIB_STATIC_API 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()
LZ4FLIB_STATIC_API size_t LZ4F_write |
( |
LZ4_writeFile_t * |
lz4fWrite, |
|
|
void * |
buf, |
|
|
size_t |
size |
|
) |
| |
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.