pub fn decode(self, src: impl AsRef<[u8]>, dst: &mut [u8]) -> Result<&[u8], B64Error> {
        match self {
            Self::B64 => B64::decode(src, dst),
            Self::Bcrypt => Base64Bcrypt::decode(src, dst),
            Self::Crypt => Base64Crypt::decode(src, dst),
        }
    }
/// Decode a Base64 string into the provided destination buffer.
Decode a Base64 string into the provided destination buffer.
Decode a Base64 string into the provided destination buffer .
pub fn decode(self, src: impl AsRef<[u8]>, dst: &mut [u8]) -> Result<&[u8], B64Error> {
        match self {
            Self::B64 => B64::decode(src, dst),
            Self::Bcrypt => Base64Bcrypt::decode(src, dst),
            Self::Crypt => Base64Crypt::decode(src, dst),
        }
    }
pub fn decode ( self , src : impl AsRef < [ u8 ] > , dst : & mut [ u8 ] ) -> Result < & [ u8 ] , B64Error > { match self { Self :: B64 => B64 :: decode ( src , dst ) , Self :: Bcrypt => Base64Bcrypt :: decode ( src , dst ) , Self :: Crypt => Base64Crypt :: decode ( src , dst ) , } }
Decode a Base64 string into the provided destination buffer.
Decode a Base64 string into the provided destination buffer .
self
src
impl AsRef<[u8]>
dst
&mut [u8]
self
src
impl AsRef<[u8]>
dst
&mut [u8]