]> git.lizzy.rs Git - rust.git/commit
Added hexadecimal encoding module
authorSteven Fackler <sfackler@gmail.com>
Sun, 4 Aug 2013 18:42:39 +0000 (14:42 -0400)
committerSteven Fackler <sfackler@gmail.com>
Tue, 6 Aug 2013 16:58:35 +0000 (09:58 -0700)
commit2266df51aa07eabd2f7745d410d3ddc4572ade21
treeddfe8c6c26f1bd6ef29395eb945791140cf03377
parentba3d03d3a4836aa5776ca8c4cb0e9982b00f516b
Added hexadecimal encoding module

FromHex ignores whitespace and parses either upper or lower case hex
digits. ToHex outputs lower case hex digits with no whitespace. Unlike
ToBase64, ToHex doesn't allow you to configure the output format. I
don't feel that it's super useful in this case.
src/libextra/extra.rs
src/libextra/hex.rs [new file with mode: 0644]