pub fn encode_len(src_len: usize) -> usize
One aspect of base64 is that the encoded length can be calculated accurately in advance, which is what this returns.