RFC 4648 §4 Base64 24-Bit Quantum Expansion
Verified StandardEvery 3-octet (24-bit) input group subdivides into four 6-bit indices (0..63). Remainder octets require 1 or 2 padding (0x3D) characters to align the 4-character quantum.
- n (Input UTF-8 Bytes)
- 14
- L_B64 (Encoded Wire Size)
- 20
Byte length emitted by UTF-8 TextEncoder.encode(str)
4-byte aligned ASCII output length (+33.33% ceiling)