Module: Ronin::Support::Compression::Zlib
- Includes:
- Zlib
- Defined in:
- lib/ronin/support/compression/zlib.rb
Overview
Methods for zlib compression.
Class Method Summary collapse
-
.deflate(string) ⇒ String
Zlib deflate a string.
-
.inflate(string) ⇒ String
Zlib inflate a string.
Class Method Details
.deflate(string) ⇒ String
Zlib deflate a string.
72 73 74 |
# File 'lib/ronin/support/compression/zlib.rb', line 72 def self.deflate(string) ::Zlib::Deflate.deflate(string) end |
.inflate(string) ⇒ String
Zlib inflate a string.
53 54 55 |
# File 'lib/ronin/support/compression/zlib.rb', line 53 def self.inflate(string) ::Zlib::Inflate.inflate(string) end |