⚝
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 :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Zlib
/
Inflate
/
View File Name :
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"8If a :buffer keyword argument is given and not nil:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"QThe :buffer keyword should be a String, and will used as the output buffer. ;TI"FUsing this option can reuse the memory required during inflation.;To;;0; [o; ; [I"OWhen not passing a block, the return value will be the same object as the ;TI":buffer keyword argument.;To;;0; [o; ; [I"LWhen passing a block, the yielded chunks will be the same value as the ;TI":buffer keyword argument.;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"{inflate(deflate_string, buffer: nil) -> String inflate(deflate_string, buffer: nil) { |chunk| ... } -> nil ;T0[ I" (p1);T@FFI"Inflate;TcRDoc::NormalClass00