зеркало из https://github.com/github/ruby.git
75154dec73
reads (https://github.com/ruby/stringio/pull/95) [[Bug #20418]](https://bugs.ruby-lang.org/issues/20418) Ruby IO#read preserves the encoding on partial read, but change it when reading the whole IO from commit https://github.com/ruby/ruby/commit/0ca7036682da: > * io.c (read_all): should associate default external encoding. > * io.c (io_read): should NOT associate default external encoding. https://github.com/ruby/stringio/commit/073172da31 Co-authored-by: Jean Boussier <jean.boussier@gmail.com> |
||
---|---|---|
.. | ||
.document | ||
README.md | ||
depend | ||
extconf.rb | ||
stringio.c | ||
stringio.gemspec |
README.md
StringIO
Pseudo IO
class from/to String
.
This library is based on MoonWolf version written in Ruby. Thanks a lot.
Differences to IO
fileno
raisesNotImplementedError
.- encoding conversion is not implemented, and ignored silently.