mozilla/rust — pull request #10861 by alexcrichton (2013-12-08 19:14:13+00:00)
Title: Add read_to_str and write_{str, line}

These methods are sorely needed on readers and writers, and I believe that the
encoding story should be solved with composition. This commit adds back the
missed functions when reading/writing strings onto generic Readers/Writers.