Crate base64_t [] [src]

A base64 type based on base64 that cannot error.

let encoded = base64_t::Base64::new("Test String");
assert_eq!(encoded.decode(), "Test String".to_string().into_bytes());

Structs

Base64

Typesafe base64 encoded bytes with an encoding configuration.

Config

Contains configuration parameters for base64 encoding

Constants

MIME

As per standards for MIME encoded messages

STANDARD

Standard character set with padding.

STANDARD_NO_PAD

Standard character set without padding.

URL_SAFE

URL-safe character set with padding

URL_SAFE_NO_PAD

URL-safe character set without padding