解压器
更多...
#include <Decompressor.h>
|
void * | stream |
|
size_t | cap = 0 |
| 表示 buffer 分配空间大小
|
|
size_t | length = 0 |
| 表示 buffer 填充大小
|
|
size_t | read = 0 |
| 表示 buffer 已读部分
|
|
unsigned char * | buffer |
| 内部缓存 buffer
|
|
◆ OutputStream
◆ Decompressor()
◆ ~Decompressor()
sese::Decompressor::~Decompressor |
( |
| ) |
|
|
virtual |
◆ getTotalIn()
size_t sese::Decompressor::getTotalIn |
( |
| ) |
const |
|
nodiscard |
◆ getTotalOut()
size_t sese::Decompressor::getTotalOut |
( |
| ) |
const |
|
nodiscard |
当前已处理输出缓存大小
- 返回
- 缓存大小
引用了 read().
◆ inflate()
◆ input()
void sese::Decompressor::input |
( |
const void * | input, |
|
|
unsigned int | input_size ) |
设置欲解压的缓存
- 参数
-
input | 欲解压的缓存 |
input_size | 此缓存的大小 |
◆ reset()
int sese::Decompressor::reset |
( |
| ) |
|
◆ buffer
unsigned char* sese::Decompressor::buffer |
|
private |
◆ cap
size_t sese::Decompressor::cap = 0 |
|
private |
◆ length
size_t sese::Decompressor::length = 0 |
|
private |
◆ read
size_t sese::Decompressor::read = 0 |
|
private |
◆ stream
void* sese::Decompressor::stream |
|
private |
该类的文档由以下文件生成: