avail_out=

avail_out=(p1) Instance Public methods Allocates size bytes of free space in the output buffer. If there are more than size bytes already in the buffer, the buffer is truncated. Because free space is allocated automatically, you usually don't need to use this method.

close

close() Instance Public methods Closes the stream. All operations on the closed stream will raise an exception.

closed?

closed?() Instance Public methods Returns true if the stream is closed.

data_type

data_type() Instance Public methods Guesses the type of the data which have been inputed into the stream. The returned value is either BINARY, ASCII, or UNKNOWN.

end

end() Instance Public methods Closes the stream. All operations on the closed stream will raise an exception.

ended?

ended?() Instance Public methods Returns true if the stream is closed.

finish

finish â Stringfinish { |chunk| ... } â nil Instance Public methods Finishes the stream and flushes output buffer. If a block is given each chunk is yielded to the block until the input buffer has been flushed to the output buffer.

finished?

finished?() Instance Public methods Returns true if the stream is finished.

flush_next_in

flush_next_out â Stringflush_next_out { |chunk| ... } â nil Instance Public methods Flushes output buffer and returns all data in that buffer. If a block is given each chunk is yielded to the block until the current output buffer has been flushed.

flush_next_out

flush_next_out() Instance Public methods Flushes output buffer and returns all data in that buffer.