radix64 0.6.2

A base64 library by another name
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! This module is included whenever running on an architecture that doesn't have a specialized module.

use crate::decode::block::{IntoBlockDecoder, ScalarBlockDecoder};
use crate::{Crypt, Std, StdNoPad, UrlSafe, UrlSafeNoPad, Fast};

macro_rules! impl_into_block_decoder {
    ($( $cfg:ident ),+) => {$(
        impl IntoBlockDecoder for $cfg {
            type BlockDecoder = ScalarBlockDecoder<Self>;

            #[inline]
            fn into_block_decoder(self) -> Self::BlockDecoder {
                ScalarBlockDecoder::new(self)
            }
        }
    )+}
}
impl_into_block_decoder!(Std, StdNoPad, UrlSafe, UrlSafeNoPad, Crypt, Fast);