Project

General

Profile

Feature #14800

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

Added by okkez (okkez _) about 2 years ago. Updated 9 months ago.

Status:
Open
Priority:
Normal
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

Also available in: Atom PDF