1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! OdoID character set definitions.
//!
//! These exact strings MUST be reproduced verbatim in every compliant implementation.
/// Numeric characters — radix 10.
pub const NUM: &str = "0123456789";
/// Alpha characters (ambiguous chars I, L, O excluded) — radix 22.
pub const ALPHA: &str = "ABCDEFGHJKMNPQRSTVWXYZ";
/// Full hybrid set — NUM concatenated with ALPHA — radix 32.
pub const ALL: &str = "0123456789ABCDEFGHJKMNPQRSTVWXYZ";
/// Maximum exclusive value for each supported length.
/// Formula: 32 × 22 × 10 × 32^(L-3) = 220 × 32^(L-2)
pub const MAX: = ;
/// Returns the character set bytes for 0-based position index `i`.
///
/// | Index | Charset | Radix |
/// |-------|---------|-------|
/// | 0 | ALL | 32 |
/// | 1 | ALPHA | 22 |
/// | 2 | NUM | 10 |
/// | 3+ | ALL | 32 |
pub