More efficient base64 codec.