proxygen
|
#include <ZstdStreamDecompressor.h>
Public Member Functions | |
ZstdStreamDecompressor (size_t, std::string) | |
~ZstdStreamDecompressor () | |
std::unique_ptr< folly::IOBuf > | decompress (const folly::IOBuf *in) |
ZstdStatusType | getStatus () |
Public Attributes | |
ZstdStatusType | status_ |
Private Attributes | |
ZSTD_DStream * | dStream_ {nullptr} |
ZSTD_DDict * | dDict_ {nullptr} |
size_t | totalLen_ {0} |
size_t | totalDec_ {0} |
Definition at line 37 of file ZstdStreamDecompressor.h.
|
explicit |
Definition at line 21 of file ZstdStreamDecompressor.cpp.
References dDict_, dStream_, proxygen::ERROR, and status_.
ZstdStreamDecompressor::~ZstdStreamDecompressor | ( | ) |
Definition at line 38 of file ZstdStreamDecompressor.cpp.
References dDict_, and dStream_.
std::unique_ptr< folly::IOBuf > ZstdStreamDecompressor::decompress | ( | const folly::IOBuf * | in | ) |
Definition at line 47 of file ZstdStreamDecompressor.cpp.
References proxygen::CONTINUE, folly::IOBuf::create(), dStream_, proxygen::ERROR, gmock_output_test::output, folly::gen::range(), status_, proxygen::SUCCESS, totalDec_, totalLen_, and uint8_t.
|
inline |
Definition at line 42 of file ZstdStreamDecompressor.h.
|
private |
Definition at line 47 of file ZstdStreamDecompressor.h.
Referenced by ZstdStreamDecompressor(), and ~ZstdStreamDecompressor().
|
private |
Definition at line 46 of file ZstdStreamDecompressor.h.
Referenced by decompress(), ZstdStreamDecompressor(), and ~ZstdStreamDecompressor().
ZstdStatusType proxygen::ZstdStreamDecompressor::status_ |
Definition at line 42 of file ZstdStreamDecompressor.h.
Referenced by decompress(), and ZstdStreamDecompressor().
|
private |
Definition at line 49 of file ZstdStreamDecompressor.h.
Referenced by decompress().
|
private |
Definition at line 48 of file ZstdStreamDecompressor.h.
Referenced by decompress().