pub fn base64dec_all_str(input: &str) -> Result<String, &str> {
    match base64dec_all(input) {
        Ok(d) => match String::from_utf8(d) {
            Err(_) => Err("invalid utf8"),
            Ok(x) => Ok(x),
        },
        Err(e) => Err(e),
    }
}
/// decodes an url encoded string into a string, which can contain REPLACEMENT CHARACTER on decoding failure
decodes an url encoded string into a string, which can contain REPLACEMENT CHARACTER on decoding failure
decodes an url encoded string into a string which can contain REPLACEMENT CHARACTER on decoding failure
pub fn base64dec_all_str(input: &str) -> Result<String, &str> {
    match base64dec_all(input) {
        Ok(d) => match String::from_utf8(d) {
            Err(_) => Err("invalid utf8"),
            Ok(x) => Ok(x),
        },
        Err(e) => Err(e),
    }
}
pub fn base64dec_all_str ( input : & str ) -> Result < String , & str > { match base64dec_all ( input ) { Ok ( d ) => match String :: from_utf8 ( d ) { Err ( _ ) => Err ( " " ) , Ok ( x ) => Ok ( x ) , } , Err ( e ) => Err ( e ) , } }
decodes an url encoded string into a string, which can contain REPLACEMENT CHARACTER on decoding failure
decodes an url encoded string into a string which can contain REPLACEMENT CHARACTER on decoding failure
input
&str