/*
Copyright © 2023, ParallelChain Lab
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
*/
//! Implementation of the encode and decode operations on base64url (as defined in IETF RFC 4648) String.
//! The encoded string restricted to containing the 2^6 UTF-8 code points without padding.
//!
//! In general, we use `-` and `_` instead of `+` and `/`, without paddings.
use ;
const ENGINE: GeneralPurpose = new;
/// encode takes in a slice of bytes and returns the bytes encoded as a base64url String.
/// decode takes in a string and tries to decode it into a Vector of bytes. It returns a base64::DecodeError if `string`
/// is not valid Base64URL.
Sized + >