src/utils/base64.c
/* This code generated the table with magic numbers */
This code generated the table with magic numbers
This code generated the table with magic numbers
void b64_generate_decode_table() {
	int32_t inv[80];
	uint64_t i;
	memset(inv, -1, sizeof(inv));
	for (i=0; i<sizeof(b64chars)-1; i++) {
		inv[b64chars[i]-43] = i;
	}
}
void b64_generate_decode_table ( ) { int32_t inv [ 80 ] ; uint64_t i ; memset ( inv , -1 , sizeof ( inv ) ) ; for ( i = 0 ; i < sizeof ( b64chars ) - 1 ; i ++ ) { inv [ b64chars [ i ] - 43 ] = i ; } }
This code generated the table with magic numbers
This code generated the table with magic numbers