Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serialize::base64 could use a Show type #18520

Closed
seanmonstar opened this issue Nov 1, 2014 · 2 comments
Closed

serialize::base64 could use a Show type #18520

seanmonstar opened this issue Nov 1, 2014 · 2 comments

Comments

@seanmonstar
Copy link
Contributor

I have a string that when written to a writer, needs to be converted to base64. Currently I have to allocate a new string that is encoded, before passing it to fmt.

I'd imagine some like struct Base64Fmt<'a> { s: &'a str, c: Config}.

@sfackler
Copy link
Member

sfackler commented Nov 2, 2014

I've been meaning to add {To,From}Base64{Writer,Reader} types, but haven't gotten around to doing it.

@sfackler sfackler added the A-libs label Nov 2, 2014
@steveklabnik
Copy link
Member

This issue has been moved to the rustc-serialize repo: rust-lang-deprecated/rustc-serialize#58

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

No branches or pull requests

3 participants