#include <InflaterReader.h>
Inheritance diagram for acdk::vfile::InflaterReader:
Public Member Functions | |
InflaterReader (IN(::acdk::io::RReader) in) | |
~InflaterReader () | |
virtual int | available () |
returns the number of bytes available in this stream before blocking Some Reader always return 0 | |
virtual void | close () |
closes this Reader. | |
virtual jlong | seek (acdk::io::SeekPos seekrel, jlong seekpos) |
Set stream position in this Reader to given position. | |
virtual jlong | skip (jlong n) |
Move forwart into the stream. | |
virtual int | read () |
read a single byte from stream | |
virtual int | read (IN(RbyteArray) buffer, int offset=0, int len=-1) |
read the len bytes into buffer at offset of the buffer | |
virtual int | read (byte *buffer, int offset, int len) |
virtual void | reset () |
if mark is set, set stream to mark point otherwise to begin of this stream. | |
virtual bool | ready () |
virtual void | mark (int readAheadLimit) |
virtual bool | markSupported () |
Protected Member Functions | |
void | init () |
void | fillBuffer () |
Private Attributes | |
z_stream | _zstream |
bool | _initialized |
::acdk::lang::sys::core_vector< byte > | _inbuf |
::acdk::lang::sys::core_vector< byte > | _outbuf |
int | _pos |
int | _available |
how many are availabe in _outbuf |
|
|
|
|
|
returns the number of bytes available in this stream before blocking Some Reader always return 0
Reimplemented from acdk::io::AbstractFilterReader. |
|
closes this Reader. Note: Some Reader must be closed explicitaly Note: Reader implementation must be avare from closing a reader more than one Reimplemented from acdk::io::AbstractFilterReader. |
|
|
|
|
|
Reimplemented from acdk::io::AbstractFilterReader. |
|
Reimplemented from acdk::io::AbstractFilterReader. |
|
Reimplemented from acdk::io::AbstractFilterReader. |
|
read the len bytes into buffer at offset of the buffer
Reimplemented from acdk::io::AbstractFilterReader. |
|
read a single byte from stream
Reimplemented from acdk::io::AbstractFilterReader. |
|
Reimplemented from acdk::io::AbstractFilterReader. |
|
if mark is set, set stream to mark point otherwise to begin of this stream.
Reimplemented from acdk::io::AbstractFilterReader. |
|
Set stream position in this Reader to given position.
Reimplemented from acdk::io::AbstractFilterReader. |
|
Move forwart into the stream.
Reimplemented from acdk::io::AbstractFilterReader. |
|
how many are availabe in _outbuf
|
|
|
|
|
|
|
|
|
|
|