1 #ifndef IPFS_B32_UPPER_H_
2 #define IPFS_B32_UPPER_H_
4 #include <multibase/basic_algorithm.h>
8 struct traits<::multibase::encoding::base_32> {
9 constexpr
static const std::array<char, 32> charset = {
10 'a',
'b',
'c',
'd',
'e',
'f',
'g',
'h',
'i',
'j',
'k',
11 'l',
'm',
'n',
'o',
'p',
'q',
'r',
's',
't',
'u',
'v',
12 'w',
'x',
'y',
'z',
'2',
'3',
'4',
'5',
'6',
'7'};
13 constexpr
static const char name[] =
"base_32";
15 constexpr
static const char padding = 0;
18 struct traits<::multibase::encoding::base_32_upper> {
19 constexpr
static const std::array<char, 32> charset = {
20 'A',
'B',
'C',
'D',
'E',
'F',
'G',
'H',
'I',
'J',
'K',
21 'L',
'M',
'N',
'O',
'P',
'Q',
'R',
'S',
'T',
'U',
'V',
22 'W',
'X',
'Y',
'Z',
'2',
'3',
'4',
'5',
'6',
'7'};
23 constexpr
static const char name[] =
"base_32_upper";
25 constexpr
static const char padding = 0;
Definition: algorithm.h:13
Definition: basic_algorithm.h:31
Definition: basic_algorithm.h:21