ruby/ext/stringio
Jean byroot Boussier fd8dd71996
Implement StringIO#pread (#56)
Both for being closer to real IOs and also because it's a convenient API
in multithreaded scenarios.

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2023-08-02 18:18:17 +09:00
..
depend Update the depend files 2023-02-28 09:09:00 -08:00
extconf.rb [ruby/stringio] Drop support for ruby 2.6 or earlier 2023-05-08 07:21:21 +00:00
README.md
stringio.c Implement StringIO#pread (#56) 2023-08-02 18:18:17 +09:00
stringio.gemspec [ruby/stringio] Drop support for ruby 2.6 or earlier 2023-05-08 07:21:21 +00:00

StringIO

Pseudo IO class from/to String.

This library is based on MoonWolf version written in Ruby. Thanks a lot.

Differences to IO

  • fileno raises NotImplementedError.
  • encoding conversion is not implemented, and ignored silently.