Issue #17832 has been updated by xtkoba (Tee KOBAYASHI).


For debugging purposes, it would be nice if we could modify the content of view directly from Ruby code without any third-party C extension, although I cannot tell whether `IO` is suitable for that.

----------------------------------------
Feature #17832: allow IO write to write memoryview object without copying or add IO#write_memoryview
https://bugs.ruby-lang.org/issues/17832#change-91808

* Author: dsisnero (Dominic Sisneros)
* Status: Open
* Priority: Normal
----------------------------------------
IO#write() - arguments that are not a string will be converted to string using to_s

allow IO#write to write memoryview objects without converting to string or add a new method on IO to write memoryview objects without converting to string



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>