Project

General

Profile

Feature #14800

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

Added by okkez (okkez _) over 1 year ago. Updated about 2 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

History

#1

Updated by jeremyevans0 (Jeremy Evans) about 2 months ago

  • Backport deleted (2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN)
  • ruby -v deleted (ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux])
  • Tracker changed from Bug to Feature

Also available in: Atom PDF