File: C:/Ruby27-x64/share/ri/2.7.0/system/Zlib/Inflate/inflate-i.ri
U:RDoc::AnyMethod[iI"inflate:ETI"Zlib::Inflate#inflate;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [ I"QInputs +deflate_string+ into the inflate stream and returns the output from ;TI"Othe stream. Calling this method, both the input and the output buffer of ;TI"Kthe stream are flushed. If string is +nil+, this method finishes the ;TI",stream, just like Zlib::ZStream#finish.;To:RDoc::Markup::BlankLine o;
; [I"OIf a block is given consecutive inflated chunks from the +deflate_string+ ;TI"4are yielded to the block and +nil+ is returned.;T@o;
; [I"KRaises a Zlib::NeedDict exception if a preset dictionary is needed to ;TI"Ndecompress. Set the dictionary by Zlib::Inflate#set_dictionary and then ;TI"Ecall this method again with an empty string to flush the stream:;T@o:RDoc::Markup::Verbatim; [I""inflater = Zlib::Inflate.new
;TI"
;TI"begin
;TI") out = inflater.inflate compressed
;TI"rescue Zlib::NeedDict
;TI"H # ensure the dictionary matches the stream's required dictionary
;TI"? raise unless inflater.adler == Zlib.adler32(dictionary)
;TI"
;TI"* inflater.set_dictionary dictionary
;TI" inflater.inflate ''
;TI" end
;TI"
;TI"# ...
;TI"
;TI"inflater.close
;T:@format0o;
; [I"See also Zlib::Inflate.new;T:
@fileI"ext/zlib/zlib.c;T:0@omit_headings_from_table_of_contents_below0I"finflate(deflate_string) -> String
inflate(deflate_string) { |chunk| ... } -> nil
;T0[ I" (p1);T@/FI"Inflate;TcRDoc::NormalClass00