# Input and output streams of characters
module stream
-intrude import ropes
+intrude import text::ropes
import error
intrude import bytes
# Like `write_to` but return a new String (may be quite large)
#
- # This funtionnality is anectodical, since the point
+ # This funtionality is anectodical, since the point
# of streamable object to to be efficienlty written to a
# stream without having to allocate and concatenate strings
fun write_to_string: String
# Fill the buffer
protected fun fill_buffer is abstract
- # Is the last fill_buffer reach the end
+ # Has the last fill_buffer reached the end
protected fun end_reached: Bool is abstract
# Allocate a `_buffer` for a given `capacity`.
super Writer
private var content = new Array[String]
- redef fun to_s do return content.to_s
+ redef fun to_s do return content.plain_to_s
redef fun is_writable do return not closed
redef fun write_bytes(b) do