anylm 0.4.0

The universal API for all AI services that you know
Documentation
1
2
3
4
5
6
use base64::{Engine as _, engine};

/// Validates `base64` URL.
pub fn validate_base64(base64_url: &str) -> bool {
    engine::general_purpose::STANDARD.decode(base64_url).is_ok()
}