Class RHC::Vendor::Zlib::ZStream
In: lib/rhc/vendor/zliby.rb
Parent: Object

Methods

Public Class methods

Public Instance methods

Returns the adler-32 checksum of the input data.

Returns the number of bytes read. Normally 0 since all bytes are read at once.

Returns number of free bytes in the output buffer. As the output buffer is self expanding this normally returns 0.

Allocates size bytes in output buffer. If size < avail_out it truncates the buffer.

Closes stream. Further operations will raise Zlib::StreamError

True if stream closed, otherwise False.

Best guess of input data, one of Zlib::BINARY, Zlib::ASCII, or Zlib::UNKNOWN

Finishes the stream, flushes output buffer, implemented by child classes

True if stream is finished, otherwise False

Flushes input buffer and returns the data therein.

Flushes the output buffer and returns all the data

Reset stream. Input and Output buffers are reset.

See finished.

Size of input buffer.

Size of output buffer.

[Validate]