#ifndef TGCALLS_UTILS_GZIP_H #define TGCALLS_UTILS_GZIP_H #include #include #include namespace tgcalls { bool isGzip(std::vector const &data); absl::optional> gzipData(std::vector const &data); absl::optional> gunzipData(std::vector const &data, size_t sizeLimit); } #endif // TGCALLS_UTILS_GZIP_H