⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Zlib
/
View File Name :
cdesc-Zlib.ri
U:RDoc::NormalModule[iI" Zlib:ET@0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"QThis module provides access to the {zlib library}[http://zlib.net]. Zlib is ;TI"Odesigned to be a portable, free, general-purpose, legally unencumbered -- ;TI"Nthat is, not covered by any patents -- lossless data-compression library ;TI"Efor use on virtually any computer hardware and operating system.;To:RDoc::Markup::BlankLine o; ;[I"EThe zlib compression library provides in-memory compression and ;TI"Mdecompression functions, including integrity checks of the uncompressed ;TI" data.;T@o; ;[I"JThe zlib compressed data format is described in RFC 1950, which is a ;TI"Dwrapper around a deflate stream which is described in RFC 1951.;T@o; ;[I"NThe library also supports reading and writing files in gzip (.gz) format ;TI"Nwith an interface similar to that of IO. The gzip format is described in ;TI">RFC 1952 which is also a wrapper around a deflate stream.;T@o; ;[ I"RThe zlib format was designed to be compact and fast for use in memory and on ;TI"Kcommunications channels. The gzip format was designed for single-file ;TI"Lcompression on file systems, has a larger header than zlib to maintain ;TI"Pdirectory information, and uses a different, slower check method than zlib.;T@o; ;[I"@See your system's zlib.h for further information about zlib;T@S:RDoc::Markup::Heading: leveli: textI"Sample usage;T@o; ;[I"LUsing the wrapper to compress strings with default parameters is quite ;TI"simple:;T@o:RDoc::Markup::Verbatim;[I"require "zlib" ;TI" ;TI"5data_to_compress = File.read("don_quixote.txt") ;TI" ;TI"1puts "Input size: #{data_to_compress.size}" ;TI"#=> Input size: 2347740 ;TI" ;TI"?data_compressed = Zlib::Deflate.deflate(data_to_compress) ;TI" ;TI"5puts "Compressed size: #{data_compressed.size}" ;TI"!#=> Compressed size: 887238 ;TI" ;TI"@uncompressed_data = Zlib::Inflate.inflate(data_compressed) ;TI" ;TI"7puts "Uncompressed data is: #{uncompressed_data}" ;TI"M#=> Uncompressed data is: The Project Gutenberg EBook of Don Quixote... ;T:@format0S;;i; I"Class tree;T@o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0;[o; ;[I"Zlib::Deflate;To;;0;[o; ;[I"Zlib::Inflate;To;;0;[o; ;[I"Zlib::ZStream;To;;0;[o; ;[I"Zlib::Error;To;;;;[o;;0;[o; ;[I"Zlib::StreamEnd;To;;0;[o; ;[I"Zlib::NeedDict;To;;0;[o; ;[I"Zlib::DataError;To;;0;[o; ;[I"Zlib::StreamError;To;;0;[o; ;[I"Zlib::MemError;To;;0;[o; ;[I"Zlib::BufError;To;;0;[o; ;[I"Zlib::VersionError;T@o; ;[I"(if you have GZIP_SUPPORT);To;;;;[ o;;0;[o; ;[I"Zlib::GzipReader;To;;0;[o; ;[I"Zlib::GzipWriter;To;;0;[o; ;[I"Zlib::GzipFile;To;;0;[o; ;[I"Zlib::GzipFile::Error;To;;;;[o;;0;[o; ;[I" Zlib::GzipFile::LengthError;To;;0;[o; ;[I"Zlib::GzipFile::CRCError;To;;0;[o; ;[I"Zlib::GzipFile::NoFooter;T: @fileI"ext/zlib/zlib.c;T:0@omit_headings_from_table_of_contents_below0;0;0[ [+U:RDoc::Constant[i I"VERSION;TI"Zlib::VERSION;T:public0o;;[o; ;[I""The Ruby/zlib version string.;T@;@¤;0@¤@cRDoc::NormalModule0U;[i I"ZLIB_VERSION;TI"Zlib::ZLIB_VERSION;T;0o;;[o; ;[I"6The string which represents the version of zlib.h;T@;@¤;0@¤@@°0U;[i I"BINARY;TI"Zlib::BINARY;T;0o;;[ o; ;[I"2Represents binary data as guessed by deflate.;T@o; ;[I"!See Zlib::Deflate#data_type.;T@;@¤;0@¤@@°0U;[i I" ASCII;TI"Zlib::ASCII;T;0o;;[o; ;[I"0Represents text data as guessed by deflate.;T@o; ;[I"MNOTE: The underlying constant Z_ASCII was deprecated in favor of Z_TEXT ;TI"Cin zlib 1.2.2. New applications should not use this constant.;T@o; ;[I"!See Zlib::Deflate#data_type.;T@;@¤;0@¤@@°0U;[i I" TEXT;TI"Zlib::TEXT;T;0o;;[ o; ;[I"0Represents text data as guessed by deflate.;T@o; ;[I"!See Zlib::Deflate#data_type.;T@;@¤;0@¤@@°0U;[i I"UNKNOWN;TI"Zlib::UNKNOWN;T;0o;;[ o; ;[I";Represents an unknown data type as guessed by deflate.;T@o; ;[I"!See Zlib::Deflate#data_type.;T@;@¤;0@¤@@°0U;[i I"NO_COMPRESSION;TI"Zlib::NO_COMPRESSION;T;0o;;[o; ;[I"LNo compression, passes through data untouched. Use this for appending ;TI"-pre-compressed data to a deflate stream.;T;@¤;0@¤@@°0U;[i I"BEST_SPEED;TI"Zlib::BEST_SPEED;T;0o;;[o; ;[I"BFastest compression level, but with the lowest space savings.;T@;@¤;0@¤@@°0U;[i I"BEST_COMPRESSION;TI"Zlib::BEST_COMPRESSION;T;0o;;[o; ;[I"@Slowest compression level, but with the best space savings.;T@;@¤;0@¤@@°0U;[i I"DEFAULT_COMPRESSION;TI"Zlib::DEFAULT_COMPRESSION;T;0o;;[o; ;[I"KDefault compression level which is a good trade-off between space and ;TI" time;T;@¤;0@¤@@°0U;[i I" FILTERED;TI"Zlib::FILTERED;T;0o;;[o; ;[ I"HDeflate strategy for data produced by a filter (or predictor). The ;TI"Geffect of FILTERED is to force more Huffman codes and less string ;TI"Hmatching; it is somewhat intermediate between DEFAULT_STRATEGY and ;TI"HHUFFMAN_ONLY. Filtered data consists mostly of small values with a ;TI""somewhat random distribution.;T;@¤;0@¤@@°0U;[i I"HUFFMAN_ONLY;TI"Zlib::HUFFMAN_ONLY;T;0o;;[o; ;[I"IDeflate strategy which uses Huffman codes only (no string matching).;T@;@¤;0@¤@@°0U;[i I"RLE;TI"Zlib::RLE;T;0o;;[o; ;[I"CDeflate compression strategy designed to be almost as fast as ;TI"BHUFFMAN_ONLY, but give better compression for PNG image data.;T;@¤;0@¤@@°0U;[i I" FIXED;TI"Zlib::FIXED;T;0o;;[o; ;[I"GDeflate strategy which prevents the use of dynamic Huffman codes, ;TI"Aallowing for a simpler decoder for specialized applications.;T;@¤;0@¤@@°0U;[i I"DEFAULT_STRATEGY;TI"Zlib::DEFAULT_STRATEGY;T;0o;;[o; ;[I"