Crate base64_t

Source
Expand description

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
Configuration types imported from ‘base64’. Contains configuration parameters for base64 encoding

Constants§

MIME
Configuration types imported from ‘base64’. As per standards for MIME encoded messages
STANDARD
Configuration types imported from ‘base64’. Standard character set with padding.
STANDARD_NO_PAD
Configuration types imported from ‘base64’. Standard character set without padding.
URL_SAFE
Configuration types imported from ‘base64’. URL-safe character set with padding
URL_SAFE_NO_PAD
Configuration types imported from ‘base64’. URL-safe character set without padding