stream_end?() Instance Public methods Returns true if the stream is finished.
reset() Instance Public methods Resets and initializes the stream. All data in both input and output buffer are discarded.
flush_next_out() Instance Public methods Flushes output buffer and returns all data in that buffer.
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.
finished?() Instance Public methods Returns true if the stream is finished.
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.
ended?() Instance Public methods Returns true if the stream is closed.
end() Instance Public methods Closes the stream. All operations on the closed stream will raise an exception.
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.
closed?() Instance Public methods Returns true if the stream is closed.
Page 403 of 2275