Debian Codegraph @

mypyc/lib-rt/base64/tables/tables.h

raw
1 #ifndef BASE64_TABLES_H
2 #define BASE64_TABLES_H
3
4 #include <stdint.h>
5
6 #include "../env.h"
7
8 // These tables are used by all codecs for fallback plain encoding/decoding:
9 extern const uint8_t base64_table_enc_6bit[];
10 extern const uint8_t base64_table_dec_8bit[];
11
12 // These tables are used for the 32-bit and 64-bit generic decoders:
13 #if BASE64_WORDSIZE >= 32
14 extern const uint32_t base64_table_dec_32bit_d0[];
15 extern const uint32_t base64_table_dec_32bit_d1[];
16 extern const uint32_t base64_table_dec_32bit_d2[];
17 extern const uint32_t base64_table_dec_32bit_d3[];
18
19 // This table is used by the 32 and 64-bit generic encoders:
20 extern const uint16_t base64_table_enc_12bit[];
21 #endif
22
23 #endif // BASE64_TABLES_H