Skip to content

Add with_mem_writer to std::rt::io::mem.#9038

Closed
brandonson wants to merge 1 commit into
rust-lang:masterfrom
brandonson:with-mem-writer
Closed

Add with_mem_writer to std::rt::io::mem.#9038
brandonson wants to merge 1 commit into
rust-lang:masterfrom
brandonson:with-mem-writer

Conversation

@brandonson

Copy link
Copy Markdown
Contributor

This is in many ways a replacement for the current std::io::with_str_writer.

This is in many ways a replacement for the current
std::io::with_str_writer.
@brandonson

Copy link
Copy Markdown
Contributor Author

Something similar is likely to be useful for moves to rt::io in many cases, and certainly in moving extra::json as discussed in #8679. I believe there are no plans for directly recreating the character and string i/o methods that are currently in std::io, but if this method or a similar one exists it would be possible to update code using with_str_writer by simply adding string-to-byte conversions.

bors added a commit that referenced this pull request Sep 11, 2013
This is in many ways a replacement for the current std::io::with_str_writer.
@bors bors closed this Sep 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants