A read-only IO
object to decompress data in the zlib format.
Instances of this class wrap another IO object. When you read from this instance instance, it reads data from the underlying IO, decompresses it, and returns it to the caller.
Creates a new reader from the given io.
Creates a new reader from the given io, yields it to the given block, and closes it at the end.
Returns true
if this reader is closed.
Whether to close the enclosed IO
when closing this reader.
Whether to close the enclosed IO
when closing this reader.
Closes the wrapped IO
.
Flushes the wrapped IO
.
See IO#read
.
Rewinds the wrapped IO
.
IO::Buffered
IO
IO
Reference
Reference
Object
Object
Creates a new reader from the given io.
Creates a new reader from the given io, yields it to the given block, and closes it at the end.
Closes the wrapped IO
.
Flushes the wrapped IO
.
Rewinds the wrapped IO
.
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Compress/Zlib/Reader.html