GZip 文件输出流(压缩)
更多...
#include <GZipFileOutputStream.h>
|
int64_t | write (const void *buffer, size_t length) override |
|
void | close () noexcept |
|
virtual | ~OutputStream () noexcept=default |
|
int64_t | write (const std::string_view &buffer) |
|
int64_t | write (const text::StringView &buffer) |
|
template<typename T > |
int64_t | write (std::vector< T > &buffer) |
|
template<typename T , size_t N> |
int64_t | write (std::array< T, N > &buffer) |
|
◆ Ptr
◆ GZipFileOutputStream()
sese::GZipFileOutputStream::GZipFileOutputStream |
( |
| ) |
|
|
privatedefault |
◆ close()
void sese::GZipFileOutputStream::close |
( |
| ) |
|
|
noexcept |
◆ create()
创建文件输出流对象
- 参数
-
file | 文件的相对或者绝对路径 |
level | 压缩等级(取值范围为0~9,自动处理数值区间) |
- 返回值
-
引用了 gzFile.
◆ deleter()
◆ write()
int64_t sese::GZipFileOutputStream::write |
( |
const void * | buffer, |
|
|
size_t | length ) |
|
overridevirtual |
◆ gzFile
void* sese::GZipFileOutputStream::gzFile = nullptr |
|
private |
该类的文档由以下文件生成: