encoding/base64/src/decoding library
Base64 decoding (RFC 4648), with optional URL-safe alphabet handling and optional padding validation.
Single-pass, single-allocation implementation. The character->value
reverse-lookup table is built exactly once (a static final, computed
on first use and cached forever after) rather than being rebuilt for
every group of input characters, and the whole input is decoded in one
pass into a single pre-sized output list - no repeated substring
slicing, no list-shifting.