summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CGzip.cpp
diff options
context:
space:
mode:
authorMarcel Schneider <marcelschneider5@outlook.de>2019-11-10 00:14:47 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-10 12:52:23 +0100
commita353d16ff493ee46dc6cf57a448f44e959781609 (patch)
tree3de372150bb4b3ac68b9e14a8299e5e6893b2e4c /Libraries/LibCore/CGzip.cpp
parentedd0959c8376fb02a1d636dbed9c55dbc41991b4 (diff)
downloadserenity-a353d16ff493ee46dc6cf57a448f44e959781609.zip
LibCore: Rename class Gzip -> CGZip
Diffstat (limited to 'Libraries/LibCore/CGzip.cpp')
-rw-r--r--Libraries/LibCore/CGzip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibCore/CGzip.cpp b/Libraries/LibCore/CGzip.cpp
index b0dfcb35d6..894cbfd331 100644
--- a/Libraries/LibCore/CGzip.cpp
+++ b/Libraries/LibCore/CGzip.cpp
@@ -7,7 +7,7 @@
#include <LibDraw/puff.h>
-bool Gzip::is_compressed(const ByteBuffer& data)
+bool CGzip::is_compressed(const ByteBuffer& data)
{
return data.size() > 2 && data[0] == 0x1F && data[1] == 0x8b;
}
@@ -78,7 +78,7 @@ static Optional<ByteBuffer> get_gzip_payload(const ByteBuffer& data)
return data.slice(current, new_size);
}
-Optional<ByteBuffer> Gzip::decompress(const ByteBuffer& data)
+Optional<ByteBuffer> CGzip::decompress(const ByteBuffer& data)
{
ASSERT(is_compressed(data));