weakauras-codec-base64 0.1.0

Provides heavily optimized routines for decoding and encoding base64 used for WeakAuras-compatible strings.
Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright 2020-2025 Velithris
// SPDX-License-Identifier: MIT

pub(crate) fn base64_iter() -> impl Iterator<Item = u8> {
    (b'a'..=b'z')
        .chain(b'A'..=b'Z')
        .chain(b'0'..=b'9')
        .chain(b'('..=b')')
        .cycle()
}