Goby3  3.1.5a
2024.05.23
httplib::detail::decompressor Class Referenceabstract

#include <goby/util/thirdparty/cpp-httplib/httplib.h>

Public Types

typedef std::function< bool(const char *data, size_t data_len)> Callback
 

Public Member Functions

virtual ~decompressor ()=default
 
virtual bool is_valid () const =0
 
virtual bool decompress (const char *data, size_t data_length, Callback callback)=0
 

Detailed Description

Definition at line 2006 of file httplib.h.

Member Typedef Documentation

◆ Callback

typedef std::function<bool(const char* data, size_t data_len)> httplib::detail::decompressor::Callback

Definition at line 2013 of file httplib.h.

Constructor & Destructor Documentation

◆ ~decompressor()

virtual httplib::detail::decompressor::~decompressor ( )
virtualdefault

Member Function Documentation

◆ decompress()

virtual bool httplib::detail::decompressor::decompress ( const char data,
size_t  data_length,
Callback  callback 
)
pure virtual

◆ is_valid()

virtual bool httplib::detail::decompressor::is_valid ( ) const
pure virtual

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