Project

General

Profile

Actions

Feature #14800

open

Zlib::GzipReader#read does not support 2nd argument

Added by okkez (okkez _) over 6 years ago. Updated about 5 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:87321]

Description

Zlib::GzipReader#read does not support 2nd argument for output buffer.
It is not same as IO#read and StringIO#read.

It is useful for duck typing to copy both plain files and gzipped files.

See also

Actions

Also available in: Atom PDF

Like0
Like0