Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ruby / usr / share / ri / 2.2.0 / system / Zlib / ZStream / cdesc-ZStream.ri
Size: Mime:
U:RDoc::NormalClass[iI"ZStream:ETI"Zlib::ZStream;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"JZlib::ZStream is the abstract class for the stream which handles the ;TI"Dcompressed data. The operations are defined in the subclasses: ;TI"HZlib::Deflate for compression, and Zlib::Inflate for decompression.;To:RDoc::Markup::BlankLineo;	;[
I"PAn instance of Zlib::ZStream has one stream (struct zstream in the source) ;TI"Pand two variable-length buffers which associated to the input (next_in) of ;TI"Kthe stream and the output (next_out) of the stream. In this document, ;TI"N"input buffer" means the buffer for input, and "output buffer" means the ;TI"buffer for output.;T@o;	;[I"MData input into an instance of Zlib::ZStream are temporally stored into ;TI"Othe end of input buffer, and then data in input buffer are processed from ;TI"Ithe beginning of the buffer until no more output from the stream is ;TI"Oproduced (i.e. until avail_out > 0 after processing).  During processing, ;TI"Noutput buffer is allocated and expanded automatically to hold all output ;TI"
data.;T@o;	;[I"LSome particular instance methods consume the data in output buffer and ;TI"return them as a String.;T@o;	;[I"/Here is an ascii art for describing above:;T@o:RDoc::Markup::Verbatim;[I"F+================ an instance of Zlib::ZStream ================+
;TI"F||                                                            ||
;TI"F||     +--------+          +-------+          +--------+      ||
;TI"F||  +--| output |<---------|zstream|<---------| input  |<--+  ||
;TI"F||  |  | buffer |  next_out+-------+next_in   | buffer |   |  ||
;TI"F||  |  +--------+                             +--------+   |  ||
;TI"F||  |                                                      |  ||
;TI"F+===|======================================================|===+
;TI"B    |                                                      |
;TI"B    v                                                      |
;TI"H"output data"                                         "input data"
;T:@format0o;	;[I"PIf an error occurs during processing input buffer, an exception which is a ;TI"Msubclass of Zlib::Error is raised.  At that time, both input and output ;TI"Dbuffer keep their conditions at the time when the error occurs.;T@S:RDoc::Markup::Heading:
leveli:	textI"Method Catalogue;T@o;	;[	I"OMany of the methods in this class are fairly low-level and unlikely to be ;TI"Jof interest to users.  In fact, users are unlikely to use this class ;TI"Cdirectly; rather they will be interested in Zlib::Inflate and ;TI"Zlib::Deflate.;T@o;	;[I"/The higher level methods are listed below.;T@o:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;	;[I"#total_in;To;;0;[o;	;[I"#total_out;To;;0;[o;	;[I"#data_type;To;;0;[o;	;[I"#adler;To;;0;[o;	;[I"#reset;To;;0;[o;	;[I"#finish;To;;0;[o;	;[I"#finished?;To;;0;[o;	;[I"#close;To;;0;[o;	;[I"
#closed?;T:
@fileI"ext/zlib/zlib.c;T:0@omit_headings_from_table_of_contents_below0;0;0[[[[[I"
class;T[[:public[[:protected[[:private[[I"
instance;T[[;[[I"
adler;TI"ext/zlib/zlib.c;T[I"
avail_in;T@†[I"avail_out;T@†[I"avail_out=;T@†[I"
close;T@†[I"closed?;T@†[I"data_type;T@†[I"end;T@†[I"ended?;T@†[I"finish;T@†[I"finished?;T@†[I"flush_next_in;T@†[I"flush_next_out;T@†[I"
reset;T@†[I"stream_end?;T@†[I"
total_in;T@†[I"total_out;T@†[;[[;[[[U:RDoc::Context::Section[i0o;;[;0;0[@vI"	Zlib;TcRDoc::NormalModule