1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

LibCore: Add a gzip implementation

This commit is contained in:
Marcel Schneider 2019-11-09 18:29:50 +01:00 committed by Andreas Kling
parent 07806d1273
commit 4fe5503b17
3 changed files with 134 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#include <AK/ByteBuffer.h>
#include <AK/Optional.h>
#include <AK/String.h>
class Gzip {
public:
static bool is_compressed(const ByteBuffer& data);
static Optional<ByteBuffer> decompress(const ByteBuffer& data);
};