tree: 15b09025e04c7ee1811bedc463592dd67f0338e1 [path history] [tgz]
  1. src/
  2. .cargo-checksum.json
  3. .cargo_vcs_info.json
  4. BUILD.bazel
  5. Cargo.lock
  6. Cargo.toml
  7. Cargo.toml.orig
  8. LICENSE
  9. README.md
third_party/rust_crates/vendor/data-encoding-2.9.0/README.md

CI Status Coverage Status

This library provides the following common encodings:

NameDescription
HEXLOWERlowercase hexadecimal
HEXLOWER_PERMISSIVElowercase hexadecimal (case-insensitive decoding)
HEXUPPERuppercase hexadecimal
HEXUPPER_PERMISSIVEuppercase hexadecimal (case-insensitive decoding)
BASE32RFC4648 base32
BASE32_NOPADRFC4648 base32 (no padding)
BASE32_NOPAD_NOCASERFC4648 base32 (no padding, case-insensitive decoding)
BASE32_NOPAD_VISUALRFC4648 base32 (no padding, visual-approx. decoding)
BASE32HEXRFC4648 base32hex
BASE32HEX_NOPADRFC4648 base32hex (no padding)
BASE32_DNSSECRFC5155 base32
BASE32_DNSCURVEDNSCurve base32
BASE64RFC4648 base64
BASE64_NOPADRFC4648 base64 (no padding)
BASE64_MIMERFC2045-like base64
BASE64_MIME_PERMISSIVERFC2045-like base64 (ignoring trailing bits)
BASE64URLRFC4648 base64url
BASE64URL_NOPADRFC4648 base64url (no padding)

It also provides the possibility to define custom little-endian ASCII base-conversion encodings for bases of size 2, 4, 8, 16, 32, and 64 (for which all above use-cases are particular instances).

See the documentation for more details.