]> git.lizzy.rs Git - rust.git/commit
Base64 API changes
authorSteven Fackler <sfackler@gmail.com>
Mon, 1 Jul 2013 04:08:49 +0000 (00:08 -0400)
committerSteven Fackler <sfackler@gmail.com>
Thu, 4 Jul 2013 02:45:39 +0000 (22:45 -0400)
commit1482cf5ded3998fa8edb01999287d22594f1e4bb
treed43341fa3826856a21d3619e41d129de11b814db
parent5a8a30f45bed02a33b2e0e11f0d07cda2f569533
Base64 API changes

There's now an enum to pick the character set instead of a url_safe
bool.

from_base64 now returns a Result<~[u8], ~str> and returns an Err instead
of killing the task when it is called on invalid input.

Fixed documentation examples.
src/libextra/base64.rs