mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:17:45 +00:00
LibCompress: Add a method that describes a Gzip Header
This can be used to display information about a gzip file that is stored in it's header.
This commit is contained in:
parent
1b6824d296
commit
2119e0fb3f
2 changed files with 15 additions and 0 deletions
|
@ -50,6 +50,7 @@ public:
|
|||
bool handle_any_error() override;
|
||||
|
||||
static Optional<ByteBuffer> decompress_all(ReadonlyBytes);
|
||||
static Optional<String> describe_header(ReadonlyBytes);
|
||||
static bool is_likely_compressed(ReadonlyBytes bytes);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue