bin_encode_decode/common/struct.rs
1/// Handles string encoding and decoding operations.
2///
3/// Uses a custom character set for the encoding/decoding process.
4///
5/// The character set should contain unique characters and ideally have 64 characters
6/// for base64-like encoding.
7#[derive(Debug, Clone)]
8pub struct Charset<'a>(
9 /// Reference to the character set used for encoding/decoding.
10 pub &'a str,
11);