File: C:/Ruby27-x64/share/ri/2.7.0/system/Zlib/deflate-c.ri
U:RDoc::AnyMethod[iI"deflate:ETI"Zlib::deflate;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I">Compresses the given +string+. Valid values of level are ;TI"EZlib::NO_COMPRESSION, Zlib::BEST_SPEED, Zlib::BEST_COMPRESSION, ;TI":Zlib::DEFAULT_COMPRESSION, or an integer from 0 to 9.;To:RDoc::Markup::BlankLine o;
; [I"<This method is almost equivalent to the following code:;T@o:RDoc::Markup::Verbatim; [I" def deflate(string, level)
;TI"$ z = Zlib::Deflate.new(level)
;TI"- dst = z.deflate(string, Zlib::FINISH)
;TI" z.close
;TI" dst
;TI" end
;T:@format0o;
; [I"See also Zlib.inflate;T:
@fileI"ext/zlib/zlib.c;T:0@omit_headings_from_table_of_contents_below0I"JZlib.deflate(string[, level])
Zlib::Deflate.deflate(string[, level])
;T0[ I"(p1, p2 = v2);T@FI" Zlib;TcRDoc::NormalModule00