|
|
@ -14,9 +14,9 @@ const BASE64_VALIDATE_RE_STR: &'static str = r#"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z
|
|
|
|
|
|
|
|
|
|
|
|
lazy_static!{
|
|
|
|
lazy_static!{
|
|
|
|
static ref BASE64_CONV_TABLE: smallmap::Map<char, char> = smallmap![
|
|
|
|
static ref BASE64_CONV_TABLE: smallmap::Map<char, char> = smallmap![
|
|
|
|
{'/' => 'ł'},
|
|
|
|
{'/' => '_'},
|
|
|
|
{'+' => 'þ'},
|
|
|
|
{'+' => 'ł'},
|
|
|
|
{'=' => 'ø'},
|
|
|
|
{'=' => '-'},
|
|
|
|
];
|
|
|
|
];
|
|
|
|
static ref BASE64_CONV_TABLE_REV: smallmap::Map<char, char> = BASE64_CONV_TABLE.clone().reverse();
|
|
|
|
static ref BASE64_CONV_TABLE_REV: smallmap::Map<char, char> = BASE64_CONV_TABLE.clone().reverse();
|
|
|
|
|
|
|
|
|
|
|
|