TensorFlow Serving C++ API Documentation
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
tensorflow::serving::net_http::ZLib Class Reference

Public Member Functions

void Reinit ()
 
void Reset ()
 
void SetDontHideStreamEnd ()
 
void SetCompressionLevel (int level)
 
void SetCompressionWindowSizeInBits (int bits)
 
void SetCompressionMemLevel (int level)
 
int MinFooterSize () const
 
int Compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
 
int Uncompress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
 
uLongf GzipUncompressedLength (const Bytef *source, uLong len)
 
int UncompressGzipAndAllocate (Bytef **dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
 
int CompressAtMost (Bytef *dest, uLongf *destLen, const Bytef *source, uLong *sourceLen)
 
int CompressChunkDone (Bytef *dest, uLongf *destLen)
 
int UncompressAtMost (Bytef *dest, uLongf *destLen, const Bytef *source, uLong *sourceLen)
 
bool UncompressChunkDone ()
 
bool first_chunk () const
 
bool IsGzipFooterComplete () const
 
bool IsGzipFooterValid () const
 
uLong uncompressed_size () const
 

Static Public Member Functions

static uLong MinCompressbufSize (uLong uncompress_size)
 
static bool HasGzipHeader (const char *source, int sourceLen)
 

Static Public Attributes

static constexpr int64_t kMaxUncompressedBytes = 100 * 1024 * 1024
 

Detailed Description

Definition at line 94 of file gzip_zlib.h.


The documentation for this class was generated from the following files: