⚝
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
/
GzipReader
/
View File Name :
cdesc-GzipReader.ri
U:RDoc::NormalClass[iI"GzipReader:ETI"Zlib::GzipReader;TI"Zlib::GzipFile;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"RZlib::GzipReader is the class for reading a gzipped file. GzipReader should ;TI"+be used as an IO, or -IO-like, object.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I",Zlib::GzipReader.open('hoge.gz') {|gz| ;TI" print gz.read ;TI"} ;TI" ;TI"!File.open('hoge.gz') do |f| ;TI"$ gz = Zlib::GzipReader.new(f) ;TI" print gz.read ;TI" gz.close ;TI" end ;T:@format0S:RDoc::Markup::Heading: leveli: textI"Method Catalogue;T@o; ;[I"PThe following methods in Zlib::GzipReader are just like their counterparts ;TI"Pin IO, but they raise Zlib::Error or Zlib::GzipFile::Error exception if an ;TI"&error was found in the gzip file.;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I" #each;To;;0;[o; ;[I"#each_line;To;;0;[o; ;[I"#each_byte;To;;0;[o; ;[I" #gets;To;;0;[o; ;[I" #getc;To;;0;[o; ;[I"#lineno;To;;0;[o; ;[I" #lineno=;To;;0;[o; ;[I" #read;To;;0;[o; ;[I"#readchar;To;;0;[o; ;[I"#readline;To;;0;[o; ;[I"#readlines;To;;0;[o; ;[I"#ungetc;T@o; ;[ I"PBe careful of the footer of the gzip file. A gzip file has the checksum of ;TI"Ppre-compressed data in its footer. GzipReader checks all uncompressed data ;TI"Kagainst that checksum at the following cases, and if it fails, raises ;TI"N
Zlib::GzipFile::NoFooter
,
Zlib::GzipFile::CRCError
, or ;TI"4
Zlib::GzipFile::LengthError
exception.;T@o;;;;[o;;0;[o; ;[I"LWhen an reading request is received beyond the end of file (the end of ;TI"