*/
static char sixbit_to_b64(const base64_maps_t *maps, const uint8_t sixbit)
{
- assert(sixbit >= 0);
assert(sixbit <= 63);
return maps->encode_map[(unsigned char)sixbit];
/**
* base64_maps_rfc4648 - pregenerated maps struct for rfc4648
*/
-static const base64_maps_t base64_maps_rfc4648 = {
+const base64_maps_t base64_maps_rfc4648 = {
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
"\xff\xff\xff\xff\xff" /* 0 */ \